1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-04 02:38:08 +00:00

exitorrent: hnadle dynamic javacript download urls (#15366)

This commit is contained in:
Rafał Stępień 2024-06-04 06:17:29 +02:00 committed by GitHub
parent adf379b3a4
commit 7204656e86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,7 +104,7 @@ search:
args: [" +(?:19|20)\\d{2} *$", ""]
rows:
selector: table[class="text"][border="0"][cellspacing="0"][cellpadding="4"] > tbody > tr:has(a[href^="details.php?id="]):has(td[class*="tableBody1"])
selector: table[class="text"][border="0"][cellspacing="0"][cellpadding="4"] > tbody > tr:has(a[href^="details.php?id="]):has(td[class*="tableBody1"], td[class*="tableBody1B"])
filters:
- name: andmatch
@ -116,9 +116,9 @@ search:
- name: querystring
args: cat
title_raw:
selector: a[href^="details.php?id="]
selector: div[class="span_title"] > a[href^="details.php?id="]
title_stripped:
selector: a[href^="details.php?id="]
selector: div[class="span_title"] > a[href^="details.php?id="]
filters:
- name: re_replace
args: ["^(.*/)(.*)$", "$2"]
@ -129,8 +129,11 @@ search:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"], a[href^="downloadfl.php/"]
attribute: href
selector: div.span_icon > a[onclick^="return downloadTorrent"]
attribute: onclick
filters:
- name: re_replace
args: ["^return downloadTorrent\\('([^']+)', '([^']+)', ''\\);$", "download.php/$1/$2.torrent"]
genre:
selector: div.span_title span div
_language: