diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:17:33 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-05 01:17:33 +0600 |
commit | 8f4c56f33412db909e92218f4933d5b08beb9f21 (patch) | |
tree | 9f42e808ef71d0dc0e66ceca5a1e9525e535a63b /youtube_dl/extractor | |
parent | 1dcc38b233f33112e00e1ddf0de6eb8ba1ef028e (diff) |
[dramafever] Extract episode number
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/dramafever.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py index 0e9e6f7ba..8d71d6769 100644 --- a/youtube_dl/extractor/dramafever.py +++ b/youtube_dl/extractor/dramafever.py @@ -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 |