1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

better msg

Authored by: bashonly
This commit is contained in:
bashonly 2025-02-19 02:13:08 -06:00
parent e0e481e668
commit 5f6dd0f3ac
No known key found for this signature in database
GPG key ID: 783F096F253D15B0

View file

@ -479,8 +479,9 @@ def _real_extract(self, url):
# It's a private post (video_id == shortcode + 28 extra characters)
self.raise_login_required()
raise ExtractorError(
'Instagram sent empty media response; check if this post is '
'accessible in your browser without being logged-in. If it is'
'Instagram sent an empty media response. Check if this post is accessible in your '
f'browser without being logged-in. If it is not, then u{self._login_hint()[1:]}. '
'Otherwise, if the post is accessible in browser without being logged-in'
f'{bug_reports_message(before=",")}', expected=True)
media.update(xdt_shortcode_media)