aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch_later.py
blob: 126fb6eb3f9a4d4ea4511ddd515ee35599e91e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
import os.path
import json
watch_later_file = os.path.normpath("youtube/watch_later.txt")
def add_to_watch_later(video_info_list):
    with open(watch_later_file, "a", encoding='utf-8') as file:
        for info in video_info_list:
            file.write(info + "\n")
        
        
def get_watch_later_page():
    pass