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

link to app.zyte.com instead of app.scrapinghub.com #431

Open
HassanQamar07 opened this issue Oct 30, 2023 · 2 comments
Open

link to app.zyte.com instead of app.scrapinghub.com #431

HassanQamar07 opened this issue Oct 30, 2023 · 2 comments

Comments

@HassanQamar07
Copy link
Member

HassanQamar07 commented Oct 30, 2023

After the project is deployed, the link to Run your Spider still points to app.scrapinghub.com, it was not a problem as it was being redirected to app.zyte.com, but it seems now we're having some issues as app.scrapinghub.com is not being redirected.

@HassanQamar07
Copy link
Member Author

PR: #432

@rennerocha
Copy link
Contributor

If you open https://app.scrapinghub.com/p/12345/ you are not redirected to https://app.zyte.com/p/12345/. You remain in app.scrapinghub.com netloc.

This is a huge problem.

I tried to clone a job, so a call to POST | https://app.scrapinghub.com/api/v2/projects/12345/jobs was made. But because the way the API is configured, it failed with a 403 error and the following error message:

{"detail":"CSRF Failed: Referer checking failed - https://app.scrapinghub.com/p/12345/jobs does not match any trusted origins."}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants