aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ciscowebex.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 09:21:20 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-06-21 09:21:20 +0530
commitad54c9130e793ce433bf9da334fa80df9f3aee58 (patch)
tree859a37aa6647ac90e619ba85aa5db58a0c733ae9 /yt_dlp/extractor/ciscowebex.py
parentdb3ad8a67661d7b234a6954d9c6a4a9b1749f5eb (diff)
downloadhypervideo-pre-ad54c9130e793ce433bf9da334fa80df9f3aee58.tar.lz
hypervideo-pre-ad54c9130e793ce433bf9da334fa80df9f3aee58.tar.xz
hypervideo-pre-ad54c9130e793ce433bf9da334fa80df9f3aee58.zip
[cleanup] Misc
Closes #6288, Closes #7197, Closes #7265, Closes #7353, Closes #5773 Authored by: mikf, freezboltz, pukkandan
Diffstat (limited to 'yt_dlp/extractor/ciscowebex.py')
-rw-r--r--yt_dlp/extractor/ciscowebex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/ciscowebex.py b/yt_dlp/extractor/ciscowebex.py
index 0fcf02282..40430505d 100644
--- a/yt_dlp/extractor/ciscowebex.py
+++ b/yt_dlp/extractor/ciscowebex.py
@@ -49,7 +49,7 @@ class CiscoWebexIE(InfoExtractor):
'https://%s.webex.com/webappng/api/v1/recordings/%s/stream' % (subdomain, video_id),
video_id, headers=headers, query={'siteurl': siteurl}, expected_status=(403, 429))
- if urlh.status == 403:
+ if urlh.getcode() == 403:
if stream['code'] == 53004:
self.raise_login_required()
if stream['code'] == 53005:
@@ -59,7 +59,7 @@ class CiscoWebexIE(InfoExtractor):
'This video is protected by a password, use the --video-password option', expected=True)
raise ExtractorError(f'{self.IE_NAME} said: {stream["code"]} - {stream["message"]}', expected=True)
- if urlh.status == 429:
+ if urlh.getcode() == 429:
self.raise_login_required(
f'{self.IE_NAME} asks you to solve a CAPTCHA. Solve CAPTCHA in browser and',
method='cookies')