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: inputs:
cookie: "{{ .Config.cookie }}" cookie: "{{ .Config.cookie }}"
test: test:
path: torrents1.php path: torrents.php
selector: a[href*="/logout?"]
search: 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: paths:
- path: torrents1.php - path: torrents.php
inputs: inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}" $raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"