Yt-dlp out of date in stable

You can edit your stable-branch version. source (…works fine)

In the file /usr/lib/python3.10/site-packages/yt_dlp/extractor/youtube.py change the following line (line 4049) (or comment it out by adding an octothorpe # in front of it):

'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,

to this

'uploader_id': self._search_regex(r'/(?:channel/|user/|@)([^/?&#]+)', owner_profile_url, 'uploader id', default=None),
5 Likes