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

NPO.NL has changed, downloading doesn't work anymore... #14622

Closed
MatrixView opened this issue Oct 29, 2017 · 3 comments
Closed

NPO.NL has changed, downloading doesn't work anymore... #14622

MatrixView opened this issue Oct 29, 2017 · 3 comments

Comments

@MatrixView
Copy link

@MatrixView MatrixView commented Oct 29, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.10.29
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Bug report (encountered problems with youtube-dl)

It seems NPO.NL has changed their authentication/session-token method. Downloading with Y-DL does not work anymore. Hopefully you can fix it! Thanx a lot in advance!

D:\>youtube-dl -v http://npo.nl/AT_2071464
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://npo.nl/AT_2071464']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.10.29
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-67388-g37425fc, ffprobe N-67388-g37425fc, rtmpdump 2.4-47-gc26c541
[debug] Proxy map: {}
[generic] AT_2071464: Requesting header
[redirect] Following redirect to https://www.npo.nl/mees-kees/29-10-2017/AT_2071464
[npo] AT_2071464: Downloading JSON metadata
[npo] AT_2071464: Downloading token
[npo] AT_2071464: Downloading formats JSON
[npo] AT_2071464: Downloading Adaptive stream JSON
**ERROR: Unable to download JSON metadata: <urlopen error [WinError 10061] No connection could be made because the target machine actively refused it> (caused by URLError(ConnectionRefusedError(10061, 'No connection could be made because the
target machine actively refused it', None, 10061, None),))**
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpk63cqkyt\build\youtube_dl\extractor\common.py", line 503, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpk63cqkyt\build\youtube_dl\YoutubeDL.py", line 2195, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpk63cqkyt\build\youtube_dl\utils.py", line 1086, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

@kvanhoorn
Copy link

@kvanhoorn kvanhoorn commented Oct 30, 2017

The urls to the mp4 streams (odis.omroep.nl) are dead. I think they stripped some legacy support.

Mobile and app also use the new auth method.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 30, 2017

> py -3.6 .\youtube_dl\__main__.py http://npo.nl/AT_2071464
[generic] AT_2071464: Requesting header
[redirect] Following redirect to https://www.npo.nl/mees-kees/29-10-2017/AT_2071464
[npo] AT_2071464: Downloading JSON metadata
[npo] AT_2071464: Downloading token
[npo] AT_2071464: Downloading formats JSON
[npo] AT_2071464: Downloading Adaptive stream JSON
[npo] AT_2071464: Downloading m3u8 information
[npo] AT_2071464: Downloading Hoog stream JSON
[npo] AT_2071464: Downloading Normaal stream JSON
[npo] AT_2071464: Downloading Laag stream JSON
[download] Destination: Mees Kees - Hamster-AT_2071464.m4v
[download]   5.2% of 196.88MiB at  2.84MiB/s ETA 01:05
ERROR: Interrupted by user
@dstftw dstftw closed this Oct 30, 2017
@MatrixView
Copy link
Author

@MatrixView MatrixView commented Oct 30, 2017

@dstftw You are correct. ATM I see the old method is working again (I guess NPO must 've had issues/complaints with older app users), but I wouldn't be surprised if this is just a time-bridge to the new method. Which is also working on the site, but not supported yet by YT-DL.

Anyway, thanx a lot. And I'll open a new issue when the time comes only the new auth-method will work.

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
3 participants
You can’t perform that action at this time.