dawoudt / JustWatchAPI

Python 3 JustWatch.com API - https://justwatch.com
MIT License
319 stars 45 forks source link

Country Change #26

Open bajajerk opened 5 years ago

bajajerk commented 5 years ago

I am unable to access it for country India

draogn commented 5 years ago

The issue is the website is displaying English for India but the code that automatically works out the language is returning "hi"

self.language = Locale.parse('und_{}'.format(self.country)).language

As a temporary fix if you change this in your copy of the code to

#self.language = Locale.parse('und_{}'.format(self.country)).language
self.language = 'en'

you should get some results back

draogn commented 5 years ago

there's some details on #28 on how this can be permanently resolved.