lofibeats/update_topics.py

8 lines
189 B
Python
Raw Permalink Normal View History

2023-01-28 01:03:25 -08:00
""" Update the yt_topics.txt file """
import youtube
if __name__ == '__main__':
for region in youtube.get_region_codes():
print(region, youtube.get_topic_id(region, "music"))