From 98157bf1bf1223ffa7556d2d21cfac6f07675f9d Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 30 Jun 2018 23:34:46 -0700 Subject: initial commit --- youtube/watch_later.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 youtube/watch_later.py (limited to 'youtube/watch_later.py') diff --git a/youtube/watch_later.py b/youtube/watch_later.py new file mode 100644 index 0000000..126fb6e --- /dev/null +++ b/youtube/watch_later.py @@ -0,0 +1,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 \ No newline at end of file -- cgit v1.2.3