uncomment rclone
parent
f1572b6af1
commit
025f5ad109
|
@ -196,7 +196,7 @@ def process_video(file, v):
|
||||||
gevent.spawn(delete_file, new, f'https://videos.{SITE}' + new.split('/videos')[1])
|
gevent.spawn(delete_file, new, f'https://videos.{SITE}' + new.split('/videos')[1])
|
||||||
|
|
||||||
if SITE == 'watchpeopledie.tv':
|
if SITE == 'watchpeopledie.tv':
|
||||||
# rclone.copy(new, 'no:/videos', ignore_existing=True)
|
rclone.copy(new, 'no:/videos', ignore_existing=True)
|
||||||
return f'https://videos.{SITE}' + new.split('/videos')[1]
|
return f'https://videos.{SITE}' + new.split('/videos')[1]
|
||||||
else:
|
else:
|
||||||
return f"{SITE_FULL}{new}"
|
return f"{SITE_FULL}{new}"
|
||||||
|
|
Loading…
Reference in New Issue