yt-dlp/yt-dlp · error · ExtractorError

data['errorMsg']

Error message

data['errorMsg']

What it means

Error "data['errorMsg']" thrown in yt-dlp/yt-dlp.

Source

Thrown at yt_dlp/extractor/younow.py:49

            'creator': 'AmandaPadeezy',
        },
        'skip': True,
    }

    @classmethod
    def suitable(cls, url):
        return (False
                if YouNowChannelIE.suitable(url) or YouNowMomentIE.suitable(url)
                else super().suitable(url))

    def _real_extract(self, url):
        username = self._match_id(url)

        data = self._download_json(
            f'https://api.younow.com/php/api/broadcast/info/curId=0/user={username}', username)

        if data.get('errorCode') != 0:
            raise ExtractorError(data['errorMsg'], expected=True)

        uploader = try_get(
            data, lambda x: x['user']['profileUrlString'],
            str) or username

        return {
            'id': uploader,
            'is_live': True,
            'title': uploader,
            'thumbnail': data.get('awsUrl'),
            'tags': data.get('tags'),
            'categories': data.get('tags'),
            'uploader': uploader,
            'uploader_id': data.get('userId'),
            'uploader_url': f'https://www.younow.com/{username}',
            'creator': uploader,
            'view_count': int_or_none(data.get('viewers')),
            'like_count': int_or_none(data.get('likes')),

View on GitHub (pinned to 81ecd58b13)

Solutions

  1. Read the error message returned by Younow for the cause
  2. Verify the user/broadcast exists and is public
  3. Update yt-dlp if the Younow API changed

When it happens

Trigger: The Younow API returns an errorMsg field (unknown user, ended broadcast, or API error) when metadata is requested.

Common situations: See trigger scenarios.


AI-assisted analysis of yt-dlp/yt-dlp@81ecd58b13 (2026-08-22). Data as JSON: /api/errors/5634ad8742e6f32d. Report an issue: GitHub.