Add ability to use PeerTube HTTP import
This commit is contained in:
parent
f5a5ca46f1
commit
8a9dae1226
|
@ -273,6 +273,7 @@ def run_steps(conf):
|
||||||
else:
|
else:
|
||||||
print("mirroring " + item["link"] + " to Peertube using HTTP import...")
|
print("mirroring " + item["link"] + " to Peertube using HTTP import...")
|
||||||
pt_http_import(dl_dir, channel_conf, item, access_token, thumb_extension)
|
pt_http_import(dl_dir, channel_conf, item, access_token, thumb_extension)
|
||||||
|
print("done.")
|
||||||
if delete_videos:
|
if delete_videos:
|
||||||
print("deleting videos and/or thumbnails...")
|
print("deleting videos and/or thumbnails...")
|
||||||
rmtree(dl_dir + "/" + channel_conf["name"], ignore_errors=True)
|
rmtree(dl_dir + "/" + channel_conf["name"], ignore_errors=True)
|
||||||
|
|
Loading…
Reference in a new issue