Updated already uploaeded check
This commit is contained in:
parent
3ea2970ab1
commit
0bff817ec9
@ -33,8 +33,9 @@ def update_mirror(channel):
|
|||||||
if not entry['id'] in added_previous:
|
if not entry['id'] in added_previous:
|
||||||
url = base_yt_url + entry['url']
|
url = base_yt_url + entry['url']
|
||||||
urls.append(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']
|
TOKEN = config['peertube']['access_token']
|
||||||
hed = {'Authorization': 'Bearer ' + TOKEN}
|
hed = {'Authorization': 'Bearer ' + TOKEN}
|
||||||
|
Loading…
Reference in New Issue
Block a user