projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[sockshare] Simplify (#3268)
[youtube-dl]
/
youtube_dl
/
extractor
/
noco.py
diff --git
a/youtube_dl/extractor/noco.py
b/youtube_dl/extractor/noco.py
index 6b0c49e02aa125264aaf954e6f3f3da930fdd448..da203538dbea3781d0daf05edbbaacbd72be622f 100644
(file)
--- a/
youtube_dl/extractor/noco.py
+++ b/
youtube_dl/extractor/noco.py
@@
-21,12
+21,13
@@
class NocoIE(InfoExtractor):
'id': '11538',
'ext': 'mp4',
'title': 'Ami Ami Idol - Hello! France',
'id': '11538',
'ext': 'mp4',
'title': 'Ami Ami Idol - Hello! France',
- 'description': 'md5:
6fcfdbbb73aee107a6b7553cefbcbeae
',
+ 'description': 'md5:
4eaab46ab68fa4197a317a88a53d3b86
',
'upload_date': '20140412',
'uploader': 'Nolife',
'uploader_id': 'NOL',
'duration': 2851.2,
'upload_date': '20140412',
'uploader': 'Nolife',
'uploader_id': 'NOL',
'duration': 2851.2,
- }
+ },
+ 'skip': 'Requires noco account',
}
def _real_extract(self, url):
}
def _real_extract(self, url):
@@
-34,7
+35,7
@@
class NocoIE(InfoExtractor):
video_id = mobj.group('id')
medias = self._download_json(
video_id = mobj.group('id')
medias = self._download_json(
- 'http://api.noco.tv/1.0/video/medias/%s' % video_id, video_id, 'Downloading video JSON')
+ 'http
s
://api.noco.tv/1.0/video/medias/%s' % video_id, video_id, 'Downloading video JSON')
formats = []
formats = []
@@
-42,7
+43,7
@@
class NocoIE(InfoExtractor):
format_id = fmt['quality_key']
file = self._download_json(
format_id = fmt['quality_key']
file = self._download_json(
- 'http://api.noco.tv/1.0/video/file/%s/fr/%s' % (format_id.lower(), video_id),
+ 'http
s
://api.noco.tv/1.0/video/file/%s/fr/%s' % (format_id.lower(), video_id),
video_id, 'Downloading %s video JSON' % format_id)
file_url = file['file']
video_id, 'Downloading %s video JSON' % format_id)
file_url = file['file']
@@
-70,7
+71,7
@@
class NocoIE(InfoExtractor):
self._sort_formats(formats)
show = self._download_json(
self._sort_formats(formats)
show = self._download_json(
- 'http://api.noco.tv/1.0/shows/show/%s' % video_id, video_id, 'Downloading show JSON')[0]
+ 'http
s
://api.noco.tv/1.0/shows/show/%s' % video_id, video_id, 'Downloading show JSON')[0]
upload_date = unified_strdate(show['indexed'])
uploader = show['partner_name']
upload_date = unified_strdate(show['indexed'])
uploader = show['partner_name']