question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

imdb_watchlist plugin broken

See original GitHub issue

Presumably due to IMDB making changes on their end.

Flexget version: 2.11.8

Stacktrace:

2017-12-08 19:34 CRITICAL task          populate_movies_list BUG: Unhandled error in plugin imdb_watchlist: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/flexget/task.py", line 486, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/flexget/utils/cached_input.py", line 148, in wrapped_func
    response = func(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/flexget/plugins/input/imdb_watchlist.py", line 106, in on_task_input
    total_item_count = int(soup.find('div', class_='desc').get('data-size'))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
thawncommented, Dec 30, 2017

IMDB changed two things:

  1. on the watchlist page, the list is now dynamically generated using a react javascript widget. This widget uses a JSON api.
  2. on other list pages, the compact view is gone

Accordingly, I wrote a parser for the javascript list of imdb title ids and the JSON api, and updated the html parsing code to be able to handle the detailed list view.

0reactions
cviumcommented, Jan 2, 2018

@chewy74 imdb_list != imdb_watchlist.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IMDb watchlist; "error occurred while adding addon" - Reddit
I have a small problem, in the pc it works perfect, I add something in imdb and it reflects it in stremio, but...
Read more >
IMDb watchlist player - Kodi Community Forum
plugin.video.imdb.watchlists ... Add Watchlist with full url or just the ur or ls user ids (including the ... Maybe it's a caching problem....
Read more >
My watchlist, ratings, and settings are gone. What happened?
Don't panic, chances are your data is still there. This can generally happen if you logged into the wrong IMDb account. When you...
Read more >
How to Set Up and Use IMDb on Kodi (Updated 2022)
Do you want to pull movie information straight from IMDb? This guide will show you how to improve content listings by integrating IMDb...
Read more >
I can not add new movies to the watch list
When I press button "+ Add to Watchlist", then nothing happens. Movie is not added to the watchlist. This is an issue. Please...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found