diff options
author | coletdjnz <coletdjnz@protonmail.com> | 2022-09-24 17:42:32 +1200 |
---|---|---|
committer | coletdjnz <coletdjnz@protonmail.com> | 2022-09-24 17:44:26 +1200 |
commit | d42763a443107fa6a9d69c110f92c98857ca2406 (patch) | |
tree | c36fe5bc0903015e05e845bb344f3ae3da9fcb02 /yt_dlp/extractor/rutube.py | |
parent | 3c757d5ed2527b17881eb65c67ddbe0d1335771f (diff) | |
download | hypervideo-pre-d42763a443107fa6a9d69c110f92c98857ca2406.tar.lz hypervideo-pre-d42763a443107fa6a9d69c110f92c98857ca2406.tar.xz hypervideo-pre-d42763a443107fa6a9d69c110f92c98857ca2406.zip |
[extractor/rutube] Fix `_EMBED_REGEX`
Closes https://github.com/yt-dlp/yt-dlp/issues/4797
Authored by: coletdjnz
Diffstat (limited to 'yt_dlp/extractor/rutube.py')
-rw-r--r-- | yt_dlp/extractor/rutube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/rutube.py b/yt_dlp/extractor/rutube.py index 380c5e14e..34af0d594 100644 --- a/yt_dlp/extractor/rutube.py +++ b/yt_dlp/extractor/rutube.py @@ -93,7 +93,7 @@ class RutubeIE(RutubeBaseIE): IE_NAME = 'rutube' IE_DESC = 'Rutube videos' _VALID_URL = r'https?://rutube\.ru/(?:video|(?:play/)?embed)/(?P<id>[\da-z]{32})' - _EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//rutube\.ru/embed/[\da-z]{32}.*?)\1'] + _EMBED_REGEX = [r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//rutube\.ru/(?:play/)?embed/[\da-z]{32}.*?)\1'] _TESTS = [{ 'url': 'http://rutube.ru/video/3eac3b4561676c17df9132a9a1e62e3e/', |