aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/dropout.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-03-27 07:50:43 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-04-05 18:12:18 +0530
commita44ca5a470e09b5170fc9c3a46733f050fadbfae (patch)
treeebb38c593e2427befb3e2d15c8bf178c682a0fd4 /yt_dlp/extractor/dropout.py
parent0a8a7e68fabf6fc9387f270301e51225ac349b00 (diff)
downloadhypervideo-pre-a44ca5a470e09b5170fc9c3a46733f050fadbfae.tar.lz
hypervideo-pre-a44ca5a470e09b5170fc9c3a46733f050fadbfae.tar.xz
hypervideo-pre-a44ca5a470e09b5170fc9c3a46733f050fadbfae.zip
[cleanup] Misc fixes
Closes https://github.com/yt-dlp/yt-dlp/pull/3213, Closes https://github.com/yt-dlp/yt-dlp/pull/3117 Related: https://github.com/yt-dlp/yt-dlp/issues/3146#issuecomment-1077323114, https://github.com/yt-dlp/yt-dlp/pull/3277#discussion_r841019671, https://github.com/yt-dlp/yt-dlp/commit/a825ffbffa0bea322e3ccb44c6f8e01d8d9572fb#commitcomment-68538986, https://github.com/yt-dlp/yt-dlp/issues/2360, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393519, https://github.com/yt-dlp/yt-dlp/commit/5fa3c9a88f597625296981a4a26be723e65d4842#r70393254
Diffstat (limited to 'yt_dlp/extractor/dropout.py')
-rw-r--r--yt_dlp/extractor/dropout.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/dropout.py b/yt_dlp/extractor/dropout.py
index a7442d8f0..2fa61950c 100644
--- a/yt_dlp/extractor/dropout.py
+++ b/yt_dlp/extractor/dropout.py
@@ -123,7 +123,7 @@ class DropoutIE(InfoExtractor):
self._login(display_id)
webpage = self._download_webpage(url, display_id, note='Downloading video webpage')
finally:
- self._download_webpage('https://www.dropout.tv/logout', display_id, note='Logging out')
+ self._download_webpage('https://www.dropout.tv/logout', display_id, note='Logging out', fatal=False)
embed_url = self._search_regex(r'embed_url:\s*["\'](.+?)["\']', webpage, 'embed url')
thumbnail = self._og_search_thumbnail(webpage)
@@ -139,7 +139,7 @@ class DropoutIE(InfoExtractor):
'_type': 'url_transparent',
'ie_key': VHXEmbedIE.ie_key(),
'url': embed_url,
- 'id': self._search_regex(r'embed.vhx.tv/videos/(.+?)\?', embed_url, 'id'),
+ 'id': self._search_regex(r'embed\.vhx\.tv/videos/(.+?)\?', embed_url, 'id'),
'display_id': display_id,
'title': title,
'description': self._html_search_meta('description', webpage, fatal=False),