mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-03 16:45:17 +00:00
[extractors] Use new framework for existing embeds (#4307)
`Brightcove` is difficult to migrate because it's subclasses may depend on the signature of the current functions. So it is left as-is for now Note: Tests have not been migrated
This commit is contained in:
6
yt_dlp/extractor/sharevideos.py
Normal file
6
yt_dlp/extractor/sharevideos.py
Normal file
@ -0,0 +1,6 @@
|
||||
from .common import InfoExtractor
|
||||
|
||||
|
||||
class ShareVideosEmbedIE(InfoExtractor):
|
||||
_VALID_URL = False
|
||||
_EMBED_REGEX = [r'<iframe[^>]+?\bsrc\s*=\s*(["\'])(?P<url>(?:https?:)?//embed\.share-videos\.se/auto/embed/\d+\?.*?\buid=\d+.*?)\1']
|
Reference in New Issue
Block a user