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

Add the Jackett widget #156

Merged
merged 3 commits into from
Sep 14, 2022
Merged

Conversation

JazzFisch
Copy link
Collaborator

  • add the follow-redirect package
  • add the tough-cookie package

Jackett API uses a redirect mechanism to set a CSRF token. This CSRF token is stored in a cookie that is required to be present or the API won't work.

- add the follow-redirect package
- add the tough-cookie package

Jackett API uses a redirect mechanism to set a CSRF token.
This CSRF token is stored in a cookie that is required to
be present or the API won't work.
@JazzFisch
Copy link
Collaborator Author

@benphelps hopefully the changes to http.js fits in with your vision of the http proxy. I tried to find popular, well used, and rated modules to assist with handling redirects and cookies.

@benphelps
Copy link
Member

Looks like a clean solution to a troublesome API, and I'm sure it'll be required by something else in the future :)

@JazzFisch JazzFisch marked this pull request as ready for review September 14, 2022 18:57
@benphelps benphelps merged commit 4cee24b into gethomepage:main Sep 14, 2022
@JazzFisch JazzFisch deleted the add-jackett-widget branch September 14, 2022 22:49
Copy link
Contributor

github-actions bot commented Feb 6, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants