2021-10-25 23:03:48 +00:00
---
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]
2022-10-02 22:17:58 +00:00
tv-search : [ q, season, ep]
2021-10-25 23:03:48 +00:00
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
2022-02-07 20:54:17 +00:00
2021-10-25 23:03:48 +00:00
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
2022-07-19 07:18:10 +00:00
_id :
2021-10-25 23:03:48 +00:00
selector : identifier
details :
2022-07-19 07:18:10 +00:00
text : "details/{{ .Result._id }}"
2021-10-25 23:03:48 +00:00
download :
2022-07-19 07:18:10 +00:00
text : "download/{{ .Result._id }}/{{ .Result._id }}_archive.torrent"
_btih :
2021-10-25 23:03:48 +00:00
selector : btih
optional : true
infohash :
2022-07-19 07:18:10 +00:00
text : "{{ if .Config.noMagnet }}{{ else }}{{ .Result._btih }}{{ end }}"
2021-10-25 23:03:48 +00:00
date :
# 2021-10-25T16:44:43Z
selector : publicdate
size :
selector : item_size
grabs :
selector : downloads
2022-02-22 01:51:58 +00:00
optional : true
2021-10-25 23:03:48 +00:00
seeders :
text : 1
leechers :
text : 1
downloadvolumefactor :
text : 0
uploadvolumefactor :
text : 1
# json Elasticsearch