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 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 #
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.