Closes #4371
This commit is contained in:
pukkandan 2022-07-18 05:00:04 +05:30
parent 1765c6039e
commit ce7f6aa660
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39

View file

@ -1,9 +1,10 @@
import functools
import re import re
import time import time
from .common import InfoExtractor from .common import InfoExtractor
from ..aes import aes_cbc_encrypt from ..aes import aes_cbc_encrypt
from ..utils import bytes_to_intlist, determine_ext, intlist_to_bytes, int_or_none, traverse_obj from ..utils import bytes_to_intlist, determine_ext, intlist_to_bytes, int_or_none, traverse_obj, urljoin
class WeTvBaseIE(InfoExtractor): class WeTvBaseIE(InfoExtractor):
@ -204,6 +205,6 @@ class WeTvSeriesIE(WeTvBaseIE):
or [f'/{series_id}/{episode["vid"]}' for episode in webpage_metadata.get('videoList')]) or [f'/{series_id}/{episode["vid"]}' for episode in webpage_metadata.get('videoList')])
return self.playlist_from_matches( return self.playlist_from_matches(
episode_paths, series_id, ie=WeTvEpisodeIE, episode_paths, series_id, ie=WeTvEpisodeIE, getter=functools.partial(urljoin, url),
title=traverse_obj(webpage_metadata, ('coverInfo', 'title')) or self._og_search_title(webpage), title=traverse_obj(webpage_metadata, ('coverInfo', 'title')) or self._og_search_title(webpage),
description=traverse_obj(webpage_metadata, ('coverInfo', 'description')) or self._og_search_description(webpage)) description=traverse_obj(webpage_metadata, ('coverInfo', 'description')) or self._og_search_description(webpage))