- * PEERTUBE_URL : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re/
- * PEERTUBE_USER : your PeerTube account where videos will be uploaded
- * PEERTUBE_PASSWORD : password of your PeerTube account
- * TARGET_URL : the target url you want to import. Examples:
- * YouTube:
- * Channel: https://www.youtube.com/channel/ChannelId
- * User https://www.youtube.com/c/UserName or https://www.youtube.com/user/UserName
- * Video https://www.youtube.com/watch?v=blabla
- * Vimeo: https://vimeo.com/xxxxxx
- * Dailymotion: https://www.dailymotion.com/xxxxx
+* `PEERTUBE_URL` : the full URL of your PeerTube server where you want to import, eg: https://peertube.cpy.re
+* `PEERTUBE_USER` : your PeerTube account where videos will be uploaded
+* `PEERTUBE_PASSWORD` : password of your PeerTube account (if omitted, you will be prompted for it)
+* `TARGET_URL` : the target url you want to import. Examples:
+ * YouTube:
+ * Channel: https://www.youtube.com/channel/ChannelId
+ * User https://www.youtube.com/c/UserName or https://www.youtube.com/user/UserName
+ * Video https://www.youtube.com/watch?v=blabla
+ * Vimeo: https://vimeo.com/xxxxxx
+ * Dailymotion: https://www.dailymotion.com/xxxxx
+
+The script will get all public videos from Youtube, download them and upload to PeerTube.
+Already downloaded videos will not be uploaded twice, so you can run and re-run the script in case of crash, disconnection...
+
+Videos will be publicly available after transcoding (you can see them before that in your account on the web interface).