diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-07-01 17:51:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-01 22:51:27 +0000 |
commit | 6aaf96a3d6e7d0d426e97e11a2fcf52fda00e733 (patch) | |
tree | 69672ff4be314bd55650fac1e9a97280cecd61e0 /yt_dlp/extractor/weibo.py | |
parent | d4b99a233314bf31f9c842035ea9884673d5313a (diff) |
[cleanup] Misc (#10075)
Closes #10303
Authored by: bashonly, seproDev, jucor, c-basalt
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: c-basalt <117849907+c-basalt@users.noreply.github.com>
Diffstat (limited to 'yt_dlp/extractor/weibo.py')
-rw-r--r-- | yt_dlp/extractor/weibo.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/extractor/weibo.py b/yt_dlp/extractor/weibo.py index 3e8290982..b5c0e926f 100644 --- a/yt_dlp/extractor/weibo.py +++ b/yt_dlp/extractor/weibo.py @@ -52,6 +52,7 @@ class WeiboBaseIE(InfoExtractor): }) def _weibo_download_json(self, url, video_id, *args, fatal=True, note='Downloading JSON metadata', **kwargs): + # XXX: Always fatal; _download_webpage_handle only returns False (not a tuple) on error webpage, urlh = self._download_webpage_handle(url, video_id, *args, fatal=fatal, note=note, **kwargs) if urllib.parse.urlparse(urlh.url).netloc == 'passport.weibo.com': self._update_visitor_cookies(urlh.url, video_id) |