Updated already uploaeded check

This commit is contained in:
Samuel Ortion 2021-07-02 17:42:10 +02:00
parent 3ea2970ab1
commit 0bff817ec9

View File

@ -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}