From 773d288f55852af6bf92a6d393b7900c456b86ec Mon Sep 17 00:00:00 2001 From: j Date: Thu, 6 Jul 2023 18:48:34 +0530 Subject: [PATCH] variable name --- ox/web/imdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ox/web/imdb.py b/ox/web/imdb.py index 5da8795..fd5cba4 100644 --- a/ox/web/imdb.py +++ b/ox/web/imdb.py @@ -179,13 +179,13 @@ def get_release_date(metadata): def get_locations(metadata): try: - keywords = [ + locations = [ row['cardText'] for row in metadata['props']['pageProps']['contentData']['categories'][0]['section']['items'] ] except: - keywords = [] - return keywords + locations = [] + return locations def get_keywords(metadata):