Spaces:
Running
Running
Update trend_crawl.py
Browse files- trend_crawl.py +1 -1
trend_crawl.py
CHANGED
@@ -71,7 +71,7 @@ def process_trends_for_country(country_code, trends_list, tr):
|
|
71 |
"searchQueries": trend.volume,
|
72 |
"articles": articles,
|
73 |
}
|
74 |
-
|
75 |
|
76 |
def convert_to_datetime( raw_time):
|
77 |
"""Converts time in seconds to a datetime object with UTC timezone, if it exists."""
|
|
|
71 |
"searchQueries": trend.volume,
|
72 |
"articles": articles,
|
73 |
}
|
74 |
+
return trends_json
|
75 |
|
76 |
def convert_to_datetime( raw_time):
|
77 |
"""Converts time in seconds to a datetime object with UTC timezone, if it exists."""
|