Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Brightcove ERROR: Unable to extract json #2110
Comments
|
Thanks for the report. We passed in the brightcove URL itself as referer, but brightcove requires the original URL. This has been fixed in youtube-dl 2014.01.07. Type |
|
Works as advertised with 2014.01.07.5. Thanks again for the fast fix. |
youtube-dl --verbose 'http://www.itworld.com/hardware/398608/california-cro
p-circle-was-nvidia-marketing-stunt'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.itworld.com/hardware/398608/california-crop-circle-was-nvidia-marketing-stunt']
[debug] Encodings: locale 'ISO8859-1', fs 'ISO8859-1', out 'ISO8859-1', pref: 'ISO8859-1'
[debug] youtube-dl version 2014.01.06.1
[debug] Python version 2.7.3 - IRIX64-6.5-IP35-mips-n32bit-ELF
[debug] Proxy map: {}
[generic] california-crop-circle-was-nvidia-marketing-stunt: Requesting header
WARNING: Falling back on generic information extractor.
[generic] california-crop-circle-was-nvidia-marketing-stunt: Downloading webpage
[generic] california-crop-circle-was-nvidia-marketing-stunt: Extracting information
[generic] Brightcove video detected.
[Brightcove] 3016771038001: Downloading webpage
[Brightcove] 3016771038001: Extracting information
ERROR: Unable to extract json; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/usr/nekoware/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 489, in extract_info
ie_result = ie.extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 154, in extract
return self._real_extract(url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 135, in _real_extract
referer=url)
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 151, in _get_video_info
info = self._search_regex(r'var experienceJSON = ({.*?});', webpage, 'json')
File "/usr/nekoware/bin/youtube-dl/youtube_dl/extractor/common.py", line 335, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract json; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.