mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-19 22:00:45 +02:00
[dramafever] Extract episode number
This commit is contained in:
parent
1dcc38b233
commit
8f4c56f334
@ -12,6 +12,7 @@
|
||||
from ..utils import (
|
||||
ExtractorError,
|
||||
clean_html,
|
||||
int_or_none,
|
||||
sanitized_Request,
|
||||
)
|
||||
|
||||
@ -114,6 +115,7 @@ def _real_extract(self, url):
|
||||
'ext': 'srt',
|
||||
'url': subfile,
|
||||
})
|
||||
info['episode_number'] = int_or_none(v.get('number'))
|
||||
break
|
||||
|
||||
return info
|
||||
|
Loading…
Reference in New Issue
Block a user