mirror of
https://github.com/mister-monster/YouTube2PeerTube.git
synced 2024-11-13 00:26:53 -05:00
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:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user