projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[MTV] move German mtv site to new class
[youtube-dl]
/
youtube_dl
/
extractor
/
imdb.py
diff --git
a/youtube_dl/extractor/imdb.py
b/youtube_dl/extractor/imdb.py
index 6108ed5526ba37f2e5b8d14b604974ca3c3f8273..4bb574cf37df2421721b088ded37a3fc66c8c2ea 100644
(file)
--- a/
youtube_dl/extractor/imdb.py
+++ b/
youtube_dl/extractor/imdb.py
@@
-4,7
+4,7
@@
import re
import json
from .common import InfoExtractor
import json
from .common import InfoExtractor
-from ..
utils
import (
+from ..
compat
import (
compat_urlparse,
)
compat_urlparse,
)
@@
-16,7
+16,6
@@
class ImdbIE(InfoExtractor):
_TEST = {
'url': 'http://www.imdb.com/video/imdb/vi2524815897',
_TEST = {
'url': 'http://www.imdb.com/video/imdb/vi2524815897',
- 'md5': '9f34fa777ade3a6e57a054fdbcb3a068',
'info_dict': {
'id': '2524815897',
'ext': 'mp4',
'info_dict': {
'id': '2524815897',
'ext': 'mp4',
@@
-47,7
+46,7
@@
class ImdbIE(InfoExtractor):
format_info = info['videoPlayerObject']['video']
formats.append({
'format_id': f_id,
format_info = info['videoPlayerObject']['video']
formats.append({
'format_id': f_id,
- 'url': format_info['
u
rl'],
+ 'url': format_info['
videoInfoList'][0]['videoU
rl'],
})
return {
})
return {
@@
-71,7
+70,7
@@
class ImdbListIE(InfoExtractor):
},
'playlist_count': 7,
}
},
'playlist_count': 7,
}
-
+
def _real_extract(self, url):
list_id = self._match_id(url)
webpage = self._download_webpage(url, list_id)
def _real_extract(self, url):
list_id = self._match_id(url)
webpage = self._download_webpage(url, list_id)