aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/dramafever.py2
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