You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\python36\lib\site-packages\IMDBAPI_init_.py", line 32, in getRating
return IMDB.getRatingByImdbId(self, IMDB.getIdFromName(title))
File "C:\python36\lib\site-packages\IMDBAPI_init_.py", line 36, in getRatingByImdbId
return re.sub('\s+', '', IMDB.parseHTML(soup, 'div', 'class', 'ratingValue').strong.span.text)
AttributeError: 'NoneType' object has no attribute 'strong'
The text was updated successfully, but these errors were encountered:
Looks like imdb made some change that breaks it:
File "C:\python36\lib\site-packages\IMDBAPI_init_.py", line 32, in getRating
return IMDB.getRatingByImdbId(self, IMDB.getIdFromName(title))
File "C:\python36\lib\site-packages\IMDBAPI_init_.py", line 36, in getRatingByImdbId
return re.sub('\s+', '', IMDB.parseHTML(soup, 'div', 'class', 'ratingValue').strong.span.text)
AttributeError: 'NoneType' object has no attribute 'strong'
The text was updated successfully, but these errors were encountered: