Language Support #506
-
|
Hi, Thanks for the great repository. I am new to this repository, I was curious to know if there is any support to change the language before I crawl a certain page? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Thank you for your interest in language support! While browsers don't directly support changing the language of web content, our library does support setting the You can set the language preference in a few ways:
Please note that the effectiveness of this method depends on the website you're crawling and whether it supports serving content in different languages based on the We're also considering adding more language-related features in future updates. Could you provide more details about your specific use case? This would help us prioritize the most useful approaches for our users. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks so much @unclecode for the suggestion. I will check this out and let you know incase I have any followup questions. |
Beta Was this translation helpful? Give feedback.
Thank you for your interest in language support! While browsers don't directly support changing the language of web content, our library does support setting the
Accept-Languageheader, which many websites use to serve content in different languages.You can set the language preference in a few ways:
When creating the crawler:
Before crawling:
When calling the
arunmethod: