From e2255f1e3a3fec059f8218e093baf2eb61fdbe37 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 9 Dec 2019 17:09:40 +1300 Subject: [PATCH] torrentgalaxyorg: add captcha to config. resolves #6546 --- .../Definitions/torrentgalaxyorg.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Jackett.Common/Definitions/torrentgalaxyorg.yml b/src/Jackett.Common/Definitions/torrentgalaxyorg.yml index e8b7cf999..e74800421 100644 --- a/src/Jackett.Common/Definitions/torrentgalaxyorg.yml +++ b/src/Jackett.Common/Definitions/torrentgalaxyorg.yml @@ -56,6 +56,22 @@ settings: [] + login: + # https://torrentgalaxy.to/galaxyfence.php?f&dropoff=%2Ftorrents.php%3Fsearch%3DHarry%2BPotter + path: galaxyfence.php?f + method: form + form: form[action="/galaxyfence.php"] + inputs: + dropoff: "/torrents.php" + captcha: + type: image + selector: img#captcha + input: captcha + error: + - selector: span:contains("Captcha incorrect") + test: + path: / + search: # https://torrentgalaxy.org/torrents.php?c41=1&search=mercedes+s02e04&lang=0&sort=id&order=desc path: torrents.php