-
Notifications
You must be signed in to change notification settings - Fork 46
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
JustWatch Class can not be instantiated raises typeError #47
Comments
Facing similar issue, any help would be appreciated! @ashgazer any resolution on this? |
Same experience here. First noticed on Sep 9. The behavior is the same whether a country value is provided or not. `>>> just_watch = JustWatch() Traceback (most recent call last): `>>> just_watch = JustWatch(country='US') Traceback (most recent call last): |
Justwatch site is still functioning, is it like public use is restricted now? |
It's entirely possible. When I first found this repository, JW didn't have this page and now they do. |
Ohh, could be. I didn't find any good alternative as well.
…On Fri, Sep 11, 2020, 9:17 PM dreondre ***@***.***> wrote:
Justwatch site is still functioning, is it like public use is restricted
now?
It's entirely possible. When I first found this repository, JW didn't have
this page and now they do.
https://www.justwatch.com/ca/JustWatch-Streaming-API
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIFUXF3ZNR5C6S4VBGR4MOLSFJBAZANCNFSM4Q632EVA>
.
|
Looks like an change from their side.
FYI: |
thanks for @chkuendig's idea from justwatch import JustWatch, justwatchapi
justwatchapi.__dict__['HEADER'] = {
'User-Agent': 'JustWatch client (github.com/dawoudt/JustWatchAPI)'}
just_watch = JustWatch() |
https: //github.com/dawoudt/JustWatchAPI/issues/47 Co-Authored-By: rking32 <[email protected]>
@venkibale @rking32 I created a pull request for changing the user agent. Hopefully this gets merged soon. |
This has something to do with when trying to set the country
Traceback (most recent call last): File "<stdin>", line 1, in <module> , in __init__ self.locale = self.set_locale() , in set_locale if result['iso_3166_2'] == self.country or \ TypeError: string indices must be integers
The text was updated successfully, but these errors were encountered: