diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2022-11-17 19:11:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 19:11:35 +0000 |
commit | f5a9e9df0da38a0c3c13f1dd106d5eb585253f0c (patch) | |
tree | 2536ec0746e2320c1797661e58982fa546e7c59a /yt_dlp/extractor/sevenplus.py | |
parent | f96a3fb7d3cbeb2b63c2eafcc14b359f37ff3078 (diff) | |
download | hypervideo-pre-f5a9e9df0da38a0c3c13f1dd106d5eb585253f0c.tar.lz hypervideo-pre-f5a9e9df0da38a0c3c13f1dd106d5eb585253f0c.tar.xz hypervideo-pre-f5a9e9df0da38a0c3c13f1dd106d5eb585253f0c.zip |
[extractor/brightcove] Add `BrightcoveNewBaseIE` and fix embed extraction (#5558)
* Move Brightcove embed extraction and tests into the IEs
* Split `BrightcoveNewBaseIE` from `BrightcoveNewIE`
* Fix bug in ade1fa70cbaaaadaa4772e5f0564870cea3167ef with the "wrong" spelling of `referrer` being smuggled
Closes #5539
Diffstat (limited to 'yt_dlp/extractor/sevenplus.py')
-rw-r--r-- | yt_dlp/extractor/sevenplus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/sevenplus.py b/yt_dlp/extractor/sevenplus.py index 36d1a86fd..222bf6ce7 100644 --- a/yt_dlp/extractor/sevenplus.py +++ b/yt_dlp/extractor/sevenplus.py @@ -1,7 +1,7 @@ import json import re -from .brightcove import BrightcoveNewIE +from .brightcove import BrightcoveNewBaseIE from ..compat import ( compat_HTTPError, compat_str, @@ -13,7 +13,7 @@ from ..utils import ( ) -class SevenPlusIE(BrightcoveNewIE): # XXX: Do not subclass from concrete IE +class SevenPlusIE(BrightcoveNewBaseIE): IE_NAME = '7plus' _VALID_URL = r'https?://(?:www\.)?7plus\.com\.au/(?P<path>[^?]+\?.*?\bepisode-id=(?P<id>[^&#]+))' _TESTS = [{ |