diff --git a/couchpotato/core/media/movie/providers/automation/imdb.py b/couchpotato/core/media/movie/providers/automation/imdb.py index b52816a..48b3569 100644 --- a/couchpotato/core/media/movie/providers/automation/imdb.py +++ b/couchpotato/core/media/movie/providers/automation/imdb.py @@ -69,10 +69,16 @@ class IMDBWatchlist(IMDBBase): html = self.getHTMLData(w_url) try: - split = splitString(html, split_on="
")[1] - html = splitString(split, split_on="
")[0] + split = splitString(html, split_on="
") + html2 = BeautifulSoup(split[1]) + html = html2.find('div', attrs = {'class': 'list compact'}).contents + html = ''.join([str(x) for x in html]) except: - pass + try: + split = splitString(html, split_on="
")[1] + html = splitString(split, split_on="
")[0] + except: + pass imdbs = getImdb(html, multiple = True) if html else []