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

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)