drop unnecessary compat_str
This commit is contained in:
parent
7ce02b5bf9
commit
4d83c072b1
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user