retroflix: fix new torrents page (#10714)

This commit is contained in:
Diego Heras 2021-01-02 16:25:19 +01:00 committed by GitHub
parent 225410ffe9
commit b8413c61d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -64,12 +64,13 @@ login:
inputs:
cookie: "{{ .Config.cookie }}"
test:
path: torrents1.php
path: torrents.php
selector: a[href*="/logout?"]
search:
# https://retroflix.club/torrents1.php?incldead=0&spstate=0&inclbookmarked=0&search=tt0055254&search_area=4&search_mode=0
# https://retroflix.club/torrents.php?incldead=0&spstate=0&inclbookmarked=0&search=tt0055254&search_area=4&search_mode=0
paths:
- path: torrents1.php
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"