1
1
mirror of https://github.com/mister-monster/YouTube2PeerTube.git synced 2024-11-24 20:26:47 -05:00

Add ability to use PeerTube HTTP import

This commit is contained in:
mister-monster 2019-10-21 22:24:15 -05:00 committed by GitHub
parent f5a5ca46f1
commit 8a9dae1226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -273,6 +273,7 @@ def run_steps(conf):
else:
print("mirroring " + item["link"] + " to Peertube using HTTP import...")
pt_http_import(dl_dir, channel_conf, item, access_token, thumb_extension)
print("done.")
if delete_videos:
print("deleting videos and/or thumbnails...")
rmtree(dl_dir + "/" + channel_conf["name"], ignore_errors=True)