Skip to content

XML gets rendered as HTML #334

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

Open
galloj opened this issue Feb 11, 2025 · 1 comment
Open

XML gets rendered as HTML #334

galloj opened this issue Feb 11, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@galloj
Copy link

galloj commented Feb 11, 2025

I am trying to use SitemapSpider with Playwright, but it doesn't work because XML gets transformed into HTML (webkit-xml-viewer). Is there any way to prevent this from happening? I cannot disable Playwright for the sitemap request as it is protected by Cloudflare.

@elacuesta
Copy link
Member

It might be possible to do better response detection somewhere around this line. I'll look into it, thanks for the report.

@elacuesta elacuesta added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants