mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
exttorrents: add imdbid search. resolves #16056
This commit is contained in:
@@ -75,8 +75,8 @@ caps:
|
|||||||
|
|
||||||
modes:
|
modes:
|
||||||
search: [q]
|
search: [q]
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep, imdbid]
|
||||||
movie-search: [q]
|
movie-search: [q, imdbid]
|
||||||
music-search: [q]
|
music-search: [q]
|
||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
@@ -103,19 +103,21 @@ search:
|
|||||||
paths:
|
paths:
|
||||||
# https://ext.to/browse/?sort=age&order=desc&age=4&with_adult=1
|
# https://ext.to/browse/?sort=age&order=desc&age=4&with_adult=1
|
||||||
# https://ext.to/browse/?sort=age&order=desc&q=wipeout&with_adult=1
|
# https://ext.to/browse/?sort=age&order=desc&q=wipeout&with_adult=1
|
||||||
|
# https://ext.to/browse/?imdb_id=tt2693776
|
||||||
- path: browse/
|
- path: browse/
|
||||||
- path: browse/
|
- path: browse/
|
||||||
inputs:
|
inputs:
|
||||||
page: 2
|
page: 2
|
||||||
followredirect: true
|
followredirect: true
|
||||||
inputs:
|
inputs:
|
||||||
q: "{{ .Keywords }}"
|
q: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||||
sort: "{{ .Config.sort }}"
|
sort: "{{ .Config.sort }}"
|
||||||
order: "{{ .Config.type }}"
|
order: "{{ .Config.type }}"
|
||||||
# 0=last 24 hours, 1=last 3 days, 2=last week, 3=last 2 weeks, 4=last month
|
# 0=last 24 hours, 1=last 3 days, 2=last week, 3=last 2 weeks, 4=last month
|
||||||
age: "{{ if .Keywords }}{{ else }}0{{ end }}"
|
age: "{{ if or .Keywords .Query.IMDBID }}{{ else }}0{{ end }}"
|
||||||
# familysafe 0=enabled, 1=disabled
|
# familysafe 0=enabled, 1=disabled
|
||||||
with_adult: 1
|
with_adult: "{{ if .Query.IMDBID }}{{ else }}1{{ end }}"
|
||||||
|
imdb_id: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ end }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table-striped > tbody > tr
|
selector: table.table-striped > tbody > tr
|
||||||
|
Reference in New Issue
Block a user