1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-11 14:44:46 +00:00

gaytorrentsru: update download

some users are restricted in the number of downloads they are allowed  per day.
when a dl for a torrent is tried the first time, an intermediate page is presented with the available dl slots and a query to continue.
subsequent DL for the same torrent does not get the intermediate page.
This patch bypasses the query, but if users exceed their daily slots the download will fail, as it should.
This commit is contained in:
Garfield69 2021-11-18 17:52:48 +13:00
parent 30b30e8861
commit bced4b14f9

View file

@ -135,9 +135,16 @@ search:
details:
selector: a[href^="details.php?id="]
attribute: href
download:
selector: a[href^="download.php/"]
id:
selector: a[href^="details.php?id="]
attribute: href
filters:
- name: querystring
args: id
download:
# turn href="download.php/0738d444362fa610a08fb87b5c1bec798ca1731adbf3175b/GUARATORO.torrent
# into href="/download.php?id=0738d444362fa610a08fb87b5c1bec798ca1731adbf3175b&n=GUARATORO.torrent&p=dodownload
text: "download.php?id={{ .Result.id }}&n={{ .Result.title }}.torrent&p=dodownload"
poster:
selector: a[href^="details.php?id="]
attribute: onmouseover