polishsource: add requestDelay and fake user-agent to bypass blocking (#14027)

This commit is contained in:
Bogdan 2023-02-15 22:52:42 +02:00 committed by GitHub
parent cbdb599027
commit c89cd64190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ description: "PolishSource (PS) is a POLISH Private Torrent Tracker for MOVIES /
language: pl-PL language: pl-PL
type: private type: private
encoding: ISO-8859-2 encoding: ISO-8859-2
requestDelay: 3
links: links:
- https://polishsource.cz/ - https://polishsource.cz/
- https://plsrc.cz/ - https://plsrc.cz/
@ -86,6 +87,10 @@ login:
selector: a[href^="logout.php"] selector: a[href^="logout.php"]
search: search:
headers:
# site blocks automation User-Agents, so slightly alter it here (e.g. Safari/537.37 > Safari/537.36)
User-Agent: ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"]
paths: paths:
# https://polishsource.cz/browse.php?search=tt1598778&incldead=1&scene=0&pl=0&sub=&search_in=nfo # https://polishsource.cz/browse.php?search=tt1598778&incldead=1&scene=0&pl=0&sub=&search_in=nfo
- path: browse.php - path: browse.php