summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/banbye.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/banbye.py')
-rw-r--r--yt_dlp/extractor/banbye.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/yt_dlp/extractor/banbye.py b/yt_dlp/extractor/banbye.py
index c4e07a7..d10bdf8 100644
--- a/yt_dlp/extractor/banbye.py
+++ b/yt_dlp/extractor/banbye.py
@@ -1,10 +1,7 @@
import math
+import urllib.parse
from .common import InfoExtractor
-from ..compat import (
- compat_parse_qs,
- compat_urllib_parse_urlparse,
-)
from ..utils import (
InAdvancePagedList,
format_field,
@@ -20,8 +17,8 @@ class BanByeBaseIE(InfoExtractor):
@staticmethod
def _extract_playlist_id(url, param='playlist'):
- return compat_parse_qs(
- compat_urllib_parse_urlparse(url).query).get(param, [None])[0]
+ return urllib.parse.parse_qs(
+ urllib.parse.urlparse(url).query).get(param, [None])[0]
def _extract_playlist(self, playlist_id):
data = self._download_json(f'{self._API_BASE}/playlists/{playlist_id}', playlist_id)