Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

katcr.co log in with passkey work for a short period of time #1589

Closed
bubez81 opened this issue Jul 25, 2017 · 4 comments
Closed

katcr.co log in with passkey work for a short period of time #1589

bubez81 opened this issue Jul 25, 2017 · 4 comments

Comments

@bubez81
Copy link

bubez81 commented Jul 25, 2017

jackett version 0.7.1594.0 it works for two or three times then i receive this message:
Login failed, got redirected

@thebluepotato
Copy link
Contributor

thebluepotato commented Jul 25, 2017

Thanks for opening the issue. From what I could gather, KAT has now implemented a redirect from the torrent login page to the community login page. The current workaround is to log into the community with your browser (https://katcr.co/show/community/index.php?action=login). Then try the login again with Jackett and it should work.
The more long term solutions that I or someone else will have to implement are:

  • Have a two-step login : probably not possible with the YAML definition alone. Question is, does Jackett suport two login methods in YAML?
  • Have the user log in and input the cookie (complicated to get but should work well enough once set up)
  • Prevent redirection?

@thebluepotato
Copy link
Contributor

To provide a short update: I've created a version of the KAT definition using cookies and it works (i.e. connection and testing succeed). I'm waiting for the current definition to fail again and then I'll see if the cookie version still works (which it should). Setup is not overly complicated, just not as elegant as username and passkey alone.

@thebluepotato
Copy link
Contributor

thebluepotato commented Aug 14, 2017

Longer update: KAT's two-step login really is an obstacle here. I've tried various combinations:

  • Cookies: this works for some time but they end up being somehow invalid after sometime and they work again once you've logged yourself into the Community page with your browser... I.e., it fails when the current implementation fails (and works when it works too).
  • I've tentatively tried to at least log into Community with Jackett but there the password is hashed twice using a salt and that needs scripting that I really don't think YAML provides...

Therefore all that's left, for now, is to either fully write KAT's definition in C# or try again without the logins (because I've yet to see the captchas again).
EDIT: Indeed, I've tried searching with all login info removed from the definition (and the updated search-torrents.php URL) and lo and behold it works! I'm not trusting this at all but this would mean KAT is truly public again for Jackett's purposes and login is now longer required. This needs some testing and could break soon but for now it seems ok!

@kaso17
Copy link
Collaborator

kaso17 commented Aug 17, 2017

Closing this for now as it should work for the time being.

@kaso17 kaso17 closed this as completed Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants