[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:
parent
1e8fe57e5c
commit
bfd973ece3
138 changed files with 500 additions and 1910 deletions
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']
|
||||
Loading…
Add table
Add a link
Reference in a new issue