1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 13:11:49 +00:00

drop unnecessary compat_str

This commit is contained in:
Conner 2021-11-17 14:41:34 -08:00
parent 7ce02b5bf9
commit 4d83c072b1

View file

@ -59,8 +59,8 @@ class PodchaserIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url) mobj = re.match(self._VALID_URL, url)
audio_id, podcast_id, creator_id = compat_str(mobj.group('id')), \ audio_id, podcast_id, creator_id = mobj.group('id'), \
compat_str(mobj.group('podcast_id')), compat_str(mobj.group('creator_id')) mobj.group('podcast_id'), mobj.group('creator_id')
webpage = self._download_webpage(url, audio_id) webpage = self._download_webpage(url, audio_id)
page_title = self._html_search_meta(['title', 'og:title', 'twitter:title'], webpage, default=None) \ page_title = self._html_search_meta(['title', 'og:title', 'twitter:title'], webpage, default=None) \
or self._search_regex( or self._search_regex(