Rapsys Git
/
youtubedl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start preparing new release.
[youtubedl]
/
youtube_dl
/
extractor
/
khanacademy.py
diff --git
a/youtube_dl/extractor/khanacademy.py
b/youtube_dl/extractor/khanacademy.py
index 408d00944ceb83e1551c12b5707031c961bb4f5d..61739efa7a4c3b84892083eab10237c23eb69e3d 100644
(file)
--- a/
youtube_dl/extractor/khanacademy.py
+++ b/
youtube_dl/extractor/khanacademy.py
@@
-14,16
+14,18
@@
class KhanAcademyIE(InfoExtractor):
_TESTS = [{
'url': 'http://www.khanacademy.org/video/one-time-pad',
_TESTS = [{
'url': 'http://www.khanacademy.org/video/one-time-pad',
- 'md5': '7
021db7f2d47d4fff89b13177cb1e8f4
',
+ 'md5': '7
b391cce85e758fb94f763ddc1bbb979
',
'info_dict': {
'id': 'one-time-pad',
'info_dict': {
'id': 'one-time-pad',
- 'ext': '
mp4
',
+ 'ext': '
webm
',
'title': 'The one-time pad',
'description': 'The perfect cipher',
'duration': 176,
'uploader': 'Brit Cruise',
'title': 'The one-time pad',
'description': 'The perfect cipher',
'duration': 176,
'uploader': 'Brit Cruise',
+ 'uploader_id': 'khanacademy',
'upload_date': '20120411',
'upload_date': '20120411',
- }
+ },
+ 'add_ie': ['Youtube'],
}, {
'url': 'https://www.khanacademy.org/math/applied-math/cryptography',
'info_dict': {
}, {
'url': 'https://www.khanacademy.org/math/applied-math/cryptography',
'info_dict': {