Default to imdb scraper on exceptions in tmdb scraper
This commit is contained in:
parent
af0f4fa052
commit
c6970ccbde
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,12 @@ class IMDB(AbstractSite):
|
|||
return "https://www.imdb.com/title/" + id_value + "/"
|
||||
|
||||
def scrape(self):
|
||||
res_data = search_tmdb_by_imdb_id(self.id_value)
|
||||
res_data = {}
|
||||
try:
|
||||
res_data = search_tmdb_by_imdb_id(self.id_value)
|
||||
except:
|
||||
pass
|
||||
|
||||
url = None
|
||||
pd = None
|
||||
if (
|
||||
|
|
Loading…
Add table
Reference in a new issue