summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/rmcdecouverte.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/rmcdecouverte.py')
-rw-r--r--yt_dlp/extractor/rmcdecouverte.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/yt_dlp/extractor/rmcdecouverte.py b/yt_dlp/extractor/rmcdecouverte.py
index bc59ed0..e7b1e22 100644
--- a/yt_dlp/extractor/rmcdecouverte.py
+++ b/yt_dlp/extractor/rmcdecouverte.py
@@ -1,9 +1,7 @@
+import urllib.parse
+
from .brightcove import BrightcoveLegacyIE
from .common import InfoExtractor
-from ..compat import (
- compat_parse_qs,
- compat_urlparse,
-)
from ..utils import smuggle_url
@@ -59,7 +57,7 @@ class RMCDecouverteIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
brightcove_legacy_url = BrightcoveLegacyIE._extract_brightcove_url(webpage)
if brightcove_legacy_url:
- brightcove_id = compat_parse_qs(compat_urlparse.urlparse(
+ brightcove_id = urllib.parse.parse_qs(urllib.parse.urlparse(
brightcove_legacy_url).query)['@videoPlayer'][0]
else:
brightcove_id = self._search_regex(