mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
Simplify further
This commit is contained in:
parent
e639a88cbe
commit
28ad013cf2
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ def _real_extract(self, url):
|
|||
'uploader': ('md_author', {str}),
|
||||
'uploader_id': (('author_id', 'authorId'), {str_or_none}, any),
|
||||
'duration': ('duration', {int_or_none}),
|
||||
'chapters': ('time_codes', lambda _, v: isinstance(v.get('time'), int), {
|
||||
'chapters': ('time_codes', lambda _, v: isinstance(v['time'], int), {
|
||||
'title': ('text', {str}),
|
||||
'start_time': 'time',
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue