1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-04-27 03:43:30 +01:00
Files
Indexers/definitions/v3/internetarchive.yml
bakerboy448 835aeaaac6 jackett indexers as of 1ca618e9f1997a8e8fc3490ed639ab24a5658264
jackett indexers as of 8922a452873cc149ee71feff1978c5663fc92737

jackett indexers as of 50e8c7e827b65cb5205f359069c9bef840b42b42

jackett indexers as of 0bec5204d8ad8acc12fc74785968806e9ac8cb2c

jackett indexers as of c883c30b8770a13a94d47056dc4399de4b066ef9

jackett indexers as of b593d7361b83d533496475bad4d091f312654460
2022-02-25 17:58:07 -06:00

109 lines
2.9 KiB
YAML

---
id: internetarchive
name: Internet Archive
description: "Internet Archive is a non-profit digital library offering free universal access to books, movies & music, as well as 406 billion archived web pages"
language: en-US
type: public
encoding: UTF-8
links:
- https://archive.org/
caps:
categorymappings:
- {id: audio, cat: Audio, desc: audio}
- {id: etree, cat: Audio, desc: etree}
- {id: movies, cat: Movies, desc: movies}
- {id: movies, cat: TV, desc: movies}
- {id: image, cat: Other/Misc, desc: image}
- {id: texts, cat: Books, desc: texts}
- {id: software, cat: PC, desc: software}
- {id: web, cat: Other, desc: web}
- {id: collection, cat: Other, desc: collection}
- {id: account, cat: Other, desc: account}
- {id: data, cat: Other, desc: data}
- {id: other, cat: Other, desc: other}
modes:
search: [q]
tv-search: [q]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: titleOnly
type: checkbox
label: Search only in title
default: true
- name: noMagnet
type: checkbox
label: Download using .torrent only. No Magnets.
default: false
- name: sort
type: select
label: Sort requested from site
default: publicdate
options:
publicdate: created
downloads: downloads
item_size: size
- name: type
type: select
label: Order requested from site
default: "-"
options:
"-": desc
"_": asc
search:
paths:
- path: advancedsearch.php
response:
type: json
inputs:
q: "{{ if and .Config.titleOnly .Keywords }}title:({{ else }}{{ end }}{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ end }}{{ if and .Config.titleOnly .Keywords }}){{ else }}{{ end }}{{ if .Keywords }} AND {{ else }}{{ end }}format:(\"Archive BitTorrent\"){{ if .Categories }} AND mediatype:({{ join .Categories \" OR \" }}){{ else }}{{ end }}"
fl[]: "identifier,title,mediatype,item_size,downloads,btih,publicdate"
sort: "{{ if .Keywords }}{{ re_replace .Config.type \"_\" \"\" }}{{ .Config.sort }}{{ else }}-publicdate{{ end }}"
rows: 100
output: json
rows:
selector: response.docs
count:
selector: response.numFound
fields:
category:
selector: mediatype
title:
selector: title
id:
selector: identifier
details:
text: "details/{{ .Result.id }}"
download:
text: "download/{{ .Result.id }}/{{ .Result.id }}_archive.torrent"
btih:
selector: btih
optional: true
infohash:
text: "{{ if .Config.noMagnet }}{{ else }}{{ .Result.btih }}{{ end }}"
date:
# 2021-10-25T16:44:43Z
selector: publicdate
size:
selector: item_size
grabs:
selector: downloads
optional: true
seeders:
text: 1
leechers:
text: 1
downloadvolumefactor:
text: 0
uploadvolumefactor:
text: 1
# json Elasticsearch