TorrentProject: fix magnet link

This commit is contained in:
kaso17 2017-06-03 15:31:09 +02:00
parent 0afd9c638a
commit 9aedd68f1c
1 changed files with 10 additions and 1 deletions

View File

@ -52,9 +52,18 @@
details:
selector: span > a
attribute: href
download:
magnet:
selector: span > a
attribute: href
filters:
- name: regexp
args: "/(\\w+)/"
- name: prepend
args: "magnet:?xt=urn:btih:"
- name: append
args: "&dn={{ .Result.title }}.torrent"
- name: append
args: "&tr=http://182.176.139.129:6969/announce&tr=http://explodie.org:6969/announce&tr=http://tracker.mgtracker.org:2710/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=udp://tracker.pirateparty.gr:6969/announce&tr=udp://tracker.sktorrent.net:6969/announce&tr=udp://tracker.zer0day.to:1337/announce"
category|optional:
selector: div > span:nth-child(1) > span
date: