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

Setting Custom Encoding in HA #283

Open
matata86 opened this issue Nov 21, 2023 · 2 comments
Open

Setting Custom Encoding in HA #283

matata86 opened this issue Nov 21, 2023 · 2 comments

Comments

@matata86
Copy link

Hello,I'm currently using the HA Multiscrape tool for a project, and I've run into an issue with encoding. The webpage I need to scrape uses the Windows 1250 encoding. I've checked the HA Multiscrape documentation but couldn't find any explicit mention of setting custom encoding options. Is there a way to configure HA Multiscrape to handle webpages with specific encodings like Windows 1250? If not, what would be the recommended approach to scrape such pages?Thank you in advance for your assistance!

@danieldotnl
Copy link
Owner

I don't have any experience with this so neither do I have recommended approaches. Does the scrape integration which is part of core home assistant support different encodings?
And what is exactly going wrong when scraping a page in the different encoding?

@matata86
Copy link
Author

Yes, the default scrape integration supports encoding settings.

If I don't set the encoding, special characters like "scratch" are displayed as question marks.

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

2 participants