not all movies have connections
This commit is contained in:
parent
baec9c4ea6
commit
e6782b3c17
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ def tech_spec(metadata):
|
|||
|
||||
def movie_connections(metadata):
|
||||
connections = {}
|
||||
if 'props' not in metadata:
|
||||
return connections
|
||||
for row in metadata['props']['pageProps']['contentData']['categories']:
|
||||
title = {
|
||||
}.get(row['name'], row['name'])
|
||||
|
|
Loading…
Reference in a new issue