1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-24 23:21:52 +01:00

[dramafever] Extract episode number

This commit is contained in:
Sergey M․ 2016-01-05 01:17:33 +06:00
parent 1dcc38b233
commit 8f4c56f334

View File

@ -12,6 +12,7 @@ from ..compat import (
from ..utils import (
ExtractorError,
clean_html,
int_or_none,
sanitized_Request,
)
@ -114,6 +115,7 @@ class DramaFeverIE(DramaFeverBaseIE):
'ext': 'srt',
'url': subfile,
})
info['episode_number'] = int_or_none(v.get('number'))
break
return info