mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-27 22:33:44 +03:00
set vcodec
Authored by: bashonly
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user