My peertube version: 3.4.1~ynh1
Current version at Github: 3.4.1
TL;WR: there is no tools/peertube-import-videos.js in my installation. Why not? Where can I find it?
I found the description of a youtube-dl script to import video’s into Peertube at CLI tools guide | PeerTube documentation
When I run the script like
node dist/server/tools/peertube-import-videos.js \
-u 'youtube.com' \
-U 'linh' \
--password 'thesecretpassword' \
--target-url 'https://www.youtube.com/watch?v=j2acFek19PU'
it tells me:
I found @yuno 's post about youtube-dl, but I don’t even get that far.
Where should I look for the script? Is the documentation up to date? When I do a general search for ‘import’ in the peertube dir:
# pwd
/var/www/peertube
# ls */*|grep import
scripts/create-import-video-file-job.ts
acorn-import-assertions
create-import-video-file-job.js
#
none of the results have exactly the right name. My Javascript is insufficient to guess whether they actually are the right scripts.
I tried to find the script online (github and framacolibri, for example), but haven’t had a hit (apart from documentation).
The documentation suggests to make an alias to jump to the right directory and to switch user,
but the tools directory in dist/server/ does not exist.
Any idea?