set vcodec

Authored by: bashonly
This commit is contained in:
bashonly
2025-05-23 04:24:38 -05:00
parent 9e7315fad1
commit f08b64ed9d
+3
View File
@@ -70,6 +70,8 @@ class PodchaserIE(InfoExtractor):
'categories': (('summary', None), 'categories', ..., 'text', {str}, filter, all, {orderedSet}), 'categories': (('summary', None), 'categories', ..., 'text', {str}, filter, all, {orderedSet}),
'tags': ('tags', ..., 'text', {str}), 'tags': ('tags', ..., 'text', {str}),
})) }))
info['vcodec'] = 'none'
if info.get('series_id'): if info.get('series_id'):
podcast_slug = traverse_obj(podcast, ('slug', {str})) or 'podcast' podcast_slug = traverse_obj(podcast, ('slug', {str})) or 'podcast'
episode_slug = traverse_obj(episode, ('slug', {str})) or 'episode' episode_slug = traverse_obj(episode, ('slug', {str})) or 'episode'
@@ -77,6 +79,7 @@ class PodchaserIE(InfoExtractor):
'https://www.podchaser.com/podcasts', 'https://www.podchaser.com/podcasts',
'-'.join((podcast_slug[:30].rstrip('-'), info['series_id'])), '-'.join((podcast_slug[:30].rstrip('-'), info['series_id'])),
'-'.join((episode_slug[:30].rstrip('-'), info['id'])))) '-'.join((episode_slug[:30].rstrip('-'), info['id']))))
return info return info
def _call_api(self, path, *args, **kwargs): def _call_api(self, path, *args, **kwargs):