aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/shared.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-05-20 21:08:49 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-05-20 21:13:18 +0530
commitb73612a2541eed8b0c3810294d151a20b6ee9e05 (patch)
treef34c759255bebd44a6cf1e0847c9c8a73860fe0c /yt_dlp/extractor/shared.py
parent5014558ab90525ea312b4e6d3305028fd5da6c29 (diff)
downloadhypervideo-pre-b73612a2541eed8b0c3810294d151a20b6ee9e05.tar.lz
hypervideo-pre-b73612a2541eed8b0c3810294d151a20b6ee9e05.tar.xz
hypervideo-pre-b73612a2541eed8b0c3810294d151a20b6ee9e05.zip
Update to ytdl-commit-dfbbe29
[redbulltv] fix embed data extraction https://github.com/ytdl-org/youtube-dl/commit/dfbbe2902fc67f0f93ee47a8077c148055c67a9b
Diffstat (limited to 'yt_dlp/extractor/shared.py')
-rw-r--r--yt_dlp/extractor/shared.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/yt_dlp/extractor/shared.py b/yt_dlp/extractor/shared.py
index 02295d1a4..93ab2a167 100644
--- a/yt_dlp/extractor/shared.py
+++ b/yt_dlp/extractor/shared.py
@@ -86,10 +86,10 @@ class SharedIE(SharedBaseIE):
class VivoIE(SharedBaseIE):
IE_DESC = 'vivo.sx'
- _VALID_URL = r'https?://vivo\.sx/(?P<id>[\da-z]{10})'
+ _VALID_URL = r'https?://vivo\.s[xt]/(?P<id>[\da-z]{10})'
_FILE_NOT_FOUND = '>The file you have requested does not exists or has been removed'
- _TEST = {
+ _TESTS = [{
'url': 'http://vivo.sx/d7ddda0e78',
'md5': '15b3af41be0b4fe01f4df075c2678b2c',
'info_dict': {
@@ -98,7 +98,10 @@ class VivoIE(SharedBaseIE):
'title': 'Chicken',
'filesize': 515659,
},
- }
+ }, {
+ 'url': 'http://vivo.st/d7ddda0e78',
+ 'only_matching': True,
+ }]
def _extract_title(self, webpage):
title = self._html_search_regex(