Sergey M․
5 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/spankbang.py
|
@ -65,7 +65,7 @@ class SpankBangIE(InfoExtractor): |
|
|
url.replace('/%s/embed' % video_id, '/%s/video' % video_id), |
|
|
url.replace('/%s/embed' % video_id, '/%s/video' % video_id), |
|
|
video_id, headers={'Cookie': 'country=US'}) |
|
|
video_id, headers={'Cookie': 'country=US'}) |
|
|
|
|
|
|
|
|
if re.search(r'<[^>]+\bid=["\']video_removed', webpage): |
|
|
|
|
|
|
|
|
if re.search(r'<[^>]+\b(?:id|class)=["\']video_removed', webpage): |
|
|
raise ExtractorError( |
|
|
raise ExtractorError( |
|
|
'Video %s is not available' % video_id, expected=True) |
|
|
'Video %s is not available' % video_id, expected=True) |
|
|
|
|
|
|
|
|