Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NBCNews Unable to extract bootstrap json #25871

Open
anonvoy opened this issue Jul 2, 2020 · 3 comments
Open

NBCNews Unable to extract bootstrap json #25871

anonvoy opened this issue Jul 2, 2020 · 3 comments

Comments

@anonvoy
Copy link

@anonvoy anonvoy commented Jul 2, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.06.16.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

abc@Linux:~> youtube-dl -U
youtube-dl is up-to-date (2020.06.16.1)
abc@Linux:~> youtube-dl -v https://www.nbcnews.com/nightly-news-netcast/video/nightly-news-full-broadcast-july-1st-86722117902
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.nbcnews.com/nightly-news-netcast/video/nightly-news-full-broadcast-july-1st-86722117902']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.6.10 (CPython) - Linux-4.12.14-lp151.28.52-default-x86_64-with-glibc2.3.4
[debug] exe versions: ffmpeg 3.4.5, ffprobe 3.4.5
[debug] Proxy map: {}
[NBCNews] 86722117902: Downloading webpage
ERROR: Unable to extract bootstrap json; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/nbc.py", line 398, in _real_extract
    'bootstrap json'), video_id, js_to_json)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract bootstrap json; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Stopped working ca. 2 days ago, I could still download the June 29 broadcast (https://www.nbcnews.com/nightly-news-netcast/video/nightly-news-full-broadcast-june-29th-86437445994). That is still up, but youtube-dl doesn't download it anymore.

@gregbert42
Copy link

@gregbert42 gregbert42 commented Jul 2, 2020

same.

@gregbert42
Copy link

@gregbert42 gregbert42 commented Jul 12, 2020

I still dont see a solution for this, other than to switch to YouTube downloading. @anonvoy - I've written a python script to download this each night from youtube if you want it. I am an expat so this is how I get my news onto my plex server

@anonvoy
Copy link
Author

@anonvoy anonvoy commented Jul 12, 2020

I still dont see a solution for this, other than to switch to YouTube downloading. @anonvoy - I've written a python script to download this each night from youtube if you want it. I am an expat so this is how I get my news onto my plex server

Thanks, but I got the periodic Youtube download from the NBCNews channel there covered with Flexget and the Youtube channel's RSS feed. Unfortunately, both the Youtube channel and the NBCNews site sometimes miss episodes, mostly on weekends, and the quality of the Youtube versions is sometimes quite bad.

From the NBCNews site, you can get the URLs of the single .ts segments, then download those segments (ca. 130 to 140 per episode) and finally combine them to a single file. I use various browser extensions and programs for this (Firefox Developer Tools, Flashgot, JDownloader, mkvtoolnix), but it's somewhat time consuming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.