Sergey M․
6 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/watchbox.py
|
|
@ -69,7 +69,7 @@ class WatchBoxIE(InfoExtractor): |
|
|
|
|
|
|
|
source = self._parse_json( |
|
|
|
self._search_regex( |
|
|
|
r'(?s)source\s*:\s*({.+?})\s*,\s*\n', webpage, 'source', |
|
|
|
r'(?s)source["\']?\s*:\s*({.+?})\s*[,}]', webpage, 'source', |
|
|
|
default='{}'), |
|
|
|
video_id, transform_source=js_to_json, fatal=False) or {} |
|
|
|
|
|
|
|