Add1E commited on
Commit
fbb7118
·
verified ·
1 Parent(s): e266815

Update trend_crawl.py

Browse files
Files changed (1) hide show
  1. trend_crawl.py +0 -3
trend_crawl.py CHANGED
@@ -72,9 +72,6 @@ def get_trends(countries: list):
72
 
73
  process_trends_for_country(country, trends)
74
  all_categories = trends_json[country]["All categories"]
75
- sorted_all_categories = dict(
76
- sorted(all_categories.items(), key=lambda x: x[1]["searchQueries"], reverse=True)
77
- )
78
  trends_json[country]["All categories"] = sorted_all_categories
79
  return trends_json
80
 
 
72
 
73
  process_trends_for_country(country, trends)
74
  all_categories = trends_json[country]["All categories"]
 
 
 
75
  trends_json[country]["All categories"] = sorted_all_categories
76
  return trends_json
77