variable name

This commit is contained in:
j 2023-07-06 18:48:34 +05:30
parent 2d5171bb3f
commit 773d288f55

View file

@ -179,13 +179,13 @@ def get_release_date(metadata):
def get_locations(metadata): def get_locations(metadata):
try: try:
keywords = [ locations = [
row['cardText'] row['cardText']
for row in metadata['props']['pageProps']['contentData']['categories'][0]['section']['items'] for row in metadata['props']['pageProps']['contentData']['categories'][0]['section']['items']
] ]
except: except:
keywords = [] locations = []
return keywords return locations
def get_keywords(metadata): def get_keywords(metadata):