Yen Chi Hsuan
7 years ago
No known key found for this signature in database
GPG Key ID: 7F902A182457CA23
1 changed files with
3 additions and
0 deletions
-
youtube_dl/extractor/niconico.py
|
@ -147,6 +147,9 @@ class NiconicoIE(InfoExtractor): |
|
|
elif 'closed' in flv_info: |
|
|
elif 'closed' in flv_info: |
|
|
raise ExtractorError('Niconico videos now require logging in', |
|
|
raise ExtractorError('Niconico videos now require logging in', |
|
|
expected=True) |
|
|
expected=True) |
|
|
|
|
|
elif 'error' in flv_info: |
|
|
|
|
|
raise ExtractorError('%s reports error: %s' % ( |
|
|
|
|
|
self.IE_NAME, flv_info['error'][0]), expected=True) |
|
|
else: |
|
|
else: |
|
|
raise ExtractorError('Unable to find video URL') |
|
|
raise ExtractorError('Unable to find video URL') |
|
|
|
|
|
|
|
|