mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 19:40:03 -07:00
keep trying
This commit is contained in:
parent
1b5898d75c
commit
70ce5e7842
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def get_movie_info(myOpener, baseURL, imdbid, download_id):
|
|||
if not imdbid:
|
||||
movieindex = [index for index in range(len(movieid)) if len(releases[index]) > 0] # and len(releases[index]["info"]) > 0 and len(releases[index]["info"]["download_id"]) > 0] # doing it in this order should stop exceeding list dimensions?
|
||||
for index in movieindex:
|
||||
releaseindex = [index2 for index2 in range(len(releases[index])) if len(releases[index][index2]) > 0 and releases[index][index2]["identifier"] == download_id]
|
||||
releaseindex = [index2 for index2 in range(len(releases[index])) if len(releases[index][index2]) > 0 and "download_id" in releases[index][index2]["info"] and releases[index][index2]["info"]["download_id"] == download_id]
|
||||
if len(releaseindex) > 0:
|
||||
imdbid_list.append(library[index])
|
||||
unique_imdbid_list = list(set(imdbid_list)) # convert this to a unique list to be sure we only have one imdbid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue