aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/tencent.py
diff options
context:
space:
mode:
authorsepro <sepro@sepr0.com>2024-11-04 01:33:21 +0100
committerGitHub <noreply@github.com>2024-11-04 01:33:21 +0100
commit197d0b03b6a3c8fe4fa5ace630eeffec629bf72c (patch)
tree577bda6784f8c1dbd9bcdf5e3a524a3c3c650f75 /yt_dlp/extractor/tencent.py
parentb03267bf0675eeb8df5baf1daac7cf67840c91a5 (diff)
[cleanup] Misc (#11347)
Closes #11361 Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev Co-authored-by: Ava Gordon <avagordon01@gmail.com> Co-authored-by: bashonly <bashonly@protonmail.com> Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com> Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
Diffstat (limited to 'yt_dlp/extractor/tencent.py')
-rw-r--r--yt_dlp/extractor/tencent.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/yt_dlp/extractor/tencent.py b/yt_dlp/extractor/tencent.py
index fc2b07ac2..b281ad1a9 100644
--- a/yt_dlp/extractor/tencent.py
+++ b/yt_dlp/extractor/tencent.py
@@ -1,4 +1,3 @@
-import functools
import random
import re
import string
@@ -278,7 +277,7 @@ class VQQSeriesIE(VQQBaseIE):
webpage)]
return self.playlist_from_matches(
- episode_paths, series_id, ie=VQQVideoIE, getter=functools.partial(urljoin, url),
+ episode_paths, series_id, ie=VQQVideoIE, getter=urljoin(url),
title=self._get_clean_title(traverse_obj(webpage_metadata, ('coverInfo', 'title'))
or self._og_search_title(webpage)),
description=(traverse_obj(webpage_metadata, ('coverInfo', 'description'))
@@ -328,7 +327,7 @@ class WeTvBaseIE(TencentBaseIE):
or re.findall(r'<a[^>]+class="play-video__link"[^>]+href="(?P<path>[^"]+)', webpage))
return self.playlist_from_matches(
- episode_paths, series_id, ie=ie, getter=functools.partial(urljoin, url),
+ episode_paths, series_id, ie=ie, getter=urljoin(url),
title=self._get_clean_title(traverse_obj(webpage_metadata, ('coverInfo', 'title'))
or self._og_search_title(webpage)),
description=(traverse_obj(webpage_metadata, ('coverInfo', 'description'))