Set Accept-Language header
Yimura opened this issue · 1 comments
Yimura commented
Is your feature request related to a problem? Please describe.
Currently YouTube will decide the language based of off the location (from your IP).
Describe the solution you'd like
Add an option with each search to set the preferred language or set the preferred language when initiating the Scraper class.
Describe alternatives you've considered
none
Additional context
This might be possible to communicate to Google/YouTube through the Accept-Language header.
Yimura commented
I've confirmed that the Accept-Language header changes the returned language of the data.
Will add this feature later on...