diff --git a/src/mirror.py b/src/mirror.py index 5b55b82..6da7896 100755 --- a/src/mirror.py +++ b/src/mirror.py @@ -33,8 +33,9 @@ def update_mirror(channel): if not entry['id'] in added_previous: url = base_yt_url + entry['url'] urls.append(url) + os.rename(f"data/{name}.playlist.last.json", f"data/{name}.playlist.previous.json") - print(urls) + # print(urls) TOKEN = config['peertube']['access_token'] hed = {'Authorization': 'Bearer ' + TOKEN}