mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-22 16:23:21 +08:00
[dramafever] Extract episode number
This commit is contained in:
parent
1dcc38b233
commit
8f4c56f334
@ -12,6 +12,7 @@ from ..compat import (
|
|||||||
from ..utils import (
|
from ..utils import (
|
||||||
ExtractorError,
|
ExtractorError,
|
||||||
clean_html,
|
clean_html,
|
||||||
|
int_or_none,
|
||||||
sanitized_Request,
|
sanitized_Request,
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -114,6 +115,7 @@ class DramaFeverIE(DramaFeverBaseIE):
|
|||||||
'ext': 'srt',
|
'ext': 'srt',
|
||||||
'url': subfile,
|
'url': subfile,
|
||||||
})
|
})
|
||||||
|
info['episode_number'] = int_or_none(v.get('number'))
|
||||||
break
|
break
|
||||||
|
|
||||||
return info
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user