From 8f4c56f33412db909e92218f4933d5b08beb9f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Tue, 5 Jan 2016 01:17:33 +0600 Subject: [PATCH] [dramafever] Extract episode number --- youtube_dl/extractor/dramafever.py | 2 ++ 1 file changed, 2 insertions(+) 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 ..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