projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add age limit to anysex, beeg, eporner, hornbuny and sunporno
[youtube-dl]
/
youtube_dl
/
extractor
/
noco.py
diff --git
a/youtube_dl/extractor/noco.py
b/youtube_dl/extractor/noco.py
index ec011eb495855df4b064ead744a44954a2817202..da203538dbea3781d0daf05edbbaacbd72be622f 100644
(file)
--- a/
youtube_dl/extractor/noco.py
+++ b/
youtube_dl/extractor/noco.py
@@
-26,7
+26,8
@@
class NocoIE(InfoExtractor):
'uploader': 'Nolife',
'uploader_id': 'NOL',
'duration': 2851.2,
'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']