cd /var/www/peertube/storage/bin rm youtube-dl wget https://github.com/yt-dlp/yt-dlp/releases/download/2022.08.08/yt-dlpversion yourself mv yt-dlp youtube-dl
you need to find the latest version of yt-dlp yourself by visiting Releases · yt-dlp/yt-dlp · GitHub
This can boost the import speed significantly
By default the resolution of the videos imported from youtube is 720p, but you can change it to 1080p by editing:
find 720 and change it to 1080, I guess you have to change it manually everytime when you upgrade the peertube to a new version.