Created
February 11, 2024 17:23
-
-
Save kjenney/cef4c2346afff05b3b2d4a96f5a4e37a to your computer and use it in GitHub Desktop.
pytrends_top_search_list.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pytrends.request import TrendReq | |
pytrends = TrendReq(hl='en-US', tz=360) | |
trending = pytrends.trending_searches(pn='united_states') | |
trending_list = trending[0].tolist() | |
print(trending_list) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment