galeriens: add thankyou before download resolves #9549

This commit is contained in:
Garfield69 2020-09-19 17:18:01 +12:00
parent 86b469a52a
commit 40de438a17
1 changed files with 7 additions and 0 deletions

View File

@ -234,6 +234,13 @@ login:
selector: a[href$="/TTV3/Deconnexion"] selector: a[href$="/TTV3/Deconnexion"]
download: download:
before:
# https://galeriens.com/TTV3/Torrents/11222/Remercier
# note http GET does not seem to work as the html suggests, so using same as LeChaudron which is also a TT3.00FRENCH engine.
path: "/TTV3/Torrents/{{ re_replace .DownloadUri.PathAndQuery \"^(.+?)(\\d+)$\" \"$2\" }}/Remercier"
method: post
inputs:
torrent: "{{ re_replace .DownloadUri.PathAndQuery \"^(.+?)(\\d+)$\" \"$2\" }}"
selector: a[href*="/Telechargement/"] selector: a[href*="/Telechargement/"]
attribute: href attribute: href