mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
darmowetorrenty: build magnet
prior method relied on hash from poster but not all torrents listed use the same poster url which caused many torrents to be dropped with an error.
This commit is contained in:
@@ -92,6 +92,16 @@ login:
|
|||||||
path: index.php
|
path: index.php
|
||||||
selector: a[href^="logout.php?check_hash="]
|
selector: a[href^="logout.php?check_hash="]
|
||||||
|
|
||||||
|
download:
|
||||||
|
selector: table[align="center"][width="100%"] tbody tr:nth-child(2) td:nth-child(2)
|
||||||
|
filters:
|
||||||
|
- name: toupper
|
||||||
|
- name: trim
|
||||||
|
- name: prepend
|
||||||
|
args: "magnet:?xt=urn:btih:"
|
||||||
|
- name: append
|
||||||
|
args: "&tr=udp://tracker.opentrackr.org:1337&tr=udp://tracker.coppersurfer.tk:6969&tr=udp://tracker.internetwarriors.net:1337&tr=udp://tracker.leechers-paradise.org:6969"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
# https://darmowe-torenty.pl/torrenty.php?search=&category=0
|
# https://darmowe-torenty.pl/torrenty.php?search=&category=0
|
||||||
@@ -103,6 +113,8 @@ search:
|
|||||||
erotyka: 1
|
erotyka: 1
|
||||||
strona: 0
|
strona: 0
|
||||||
# does not support imdbid searching and does not display imdb links in results
|
# does not support imdbid searching and does not display imdb links in results
|
||||||
|
error:
|
||||||
|
- selector: td.lista:contains("Nie ma torrentów")
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.header > tbody > tr > td
|
selector: table.header > tbody > tr > td
|
||||||
@@ -120,15 +132,9 @@ search:
|
|||||||
details:
|
details:
|
||||||
selector: a[href^="details.php?id="]:has(span)
|
selector: a[href^="details.php?id="]:has(span)
|
||||||
attribute: href
|
attribute: href
|
||||||
id:
|
|
||||||
selector: img[src^="./imgtorrent/"]
|
|
||||||
attribute: src
|
|
||||||
filters:
|
|
||||||
- name: regexp
|
|
||||||
args: "\\.\\/imgtorrent\\/tmp\\/(.+?)-darmowe-torenty.jpg"
|
|
||||||
download:
|
download:
|
||||||
# download link is obfuscated ( decodeURIComponent((atob($link.attr('data-href')))) ) so we create our own
|
selector: a[href^="details.php?id="]:has(span)
|
||||||
text: "download.php?id={{ .Result.id }}&f={{ .Result.title }}.torrent"
|
attribute: href
|
||||||
banner:
|
banner:
|
||||||
selector: img[src^="./imgtorrent/"]
|
selector: img[src^="./imgtorrent/"]
|
||||||
attribute: src
|
attribute: src
|
||||||
|
Reference in New Issue
Block a user