mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
movietorrent: use infohash
to prevent hardcoded tracker list also clean up title
This commit is contained in:
parent
1774bf7c18
commit
138c622c5d
1 changed files with 22 additions and 6 deletions
|
@ -54,12 +54,26 @@ caps:
|
|||
settings: []
|
||||
|
||||
download:
|
||||
selectors:
|
||||
- selector: a[href^="magnet:?xt="]
|
||||
infohash:
|
||||
hash:
|
||||
selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: append
|
||||
args: "&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce"
|
||||
- name: regexp
|
||||
args: ([A-F|a-f|0-9]{40})
|
||||
title:
|
||||
selector: h2
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["Full Movie ", ""]
|
||||
- name: replace
|
||||
args: ["Torrent Magnet ", ""]
|
||||
- name: replace
|
||||
args: ["Download", ""]
|
||||
- name: replace
|
||||
args: ["…", ""]
|
||||
- name: trim
|
||||
- name: validfilename
|
||||
|
||||
search:
|
||||
paths:
|
||||
|
@ -87,7 +101,9 @@ search:
|
|||
- name: replace
|
||||
args: ["Torrent Magnet ", ""]
|
||||
- name: replace
|
||||
args: ["Download ", ""]
|
||||
args: ["Download", ""]
|
||||
- name: replace
|
||||
args: ["…", ""]
|
||||
details:
|
||||
selector: h2 > a
|
||||
attribute: href
|
||||
|
@ -110,4 +126,4 @@ search:
|
|||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
# engine wordpress
|
||||
# engine wordpress 5.8
|
||||
|
|
Loading…
Add table
Reference in a new issue