YouTube sync error

I’m trying to use the new possibility to import a whole channel from YouTube to my PeerTube instance but I’m getting a very weird error message which I really don’t understand gist:848bc8282d17bf4741e4e9c82ae548e6 · GitHub it says:

« YoutubeDL could not get list info from … »

and then proceeds to show me all the information from YouTube :thinking:

Any ideas what could be the problem?


Try to switch to yt-dlp in peertube config

From what I understand I already am, this is in my /var/www/peertube/config/production.yaml:

        # Direct download URL to youtube-dl binary
        # Github releases API is also supported
        # Examples:
        #   *
        #   *
        #   *
        url: ''

        # Release binary name: 'yt-dlp' or 'youtube-dl'
        name: 'yt-dlp'

and in the error message it says: release_git_head: '5d7c7d6',\n repository: 'yt-dlp/yt-dlp' which seems to indicate this release Release 2022.09.01 · yt-dlp/yt-dlp@5d7c7d6 · GitHub

I reproduced your bug, it should be fixed by Fix channel import with some channels · Chocobozzz/PeerTube@5cc2f0e · GitHub

Ah the data coming from YouTube doesn’t always have the same structure, I see.

Thanks for looking into it!