projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dcc38b
)
[dramafever] Extract episode number
author
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:17:33 +0000
(
01:17
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 4 Jan 2016 19:17:33 +0000
(
01:17
+0600)
youtube_dl/extractor/dramafever.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dramafever.py
b/youtube_dl/extractor/dramafever.py
index 0e9e6f7bac7ca60211af3488c5206e85b852013c..8d71d67695fced172a0ee300d2b952e875423de4 100644
(file)
--- 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