youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

[npo] Download NPO Start Plus content

Open mwesten opened this issue 5 years ago • 10 comments

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

  • [x] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [x] Searched the bugtracker for similar issues including closed ones
  • [x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [x] Bug report (encountered problems with youtube-dl)
  • [ ] Site support request (request for adding support for a new site)
  • [x] Feature request (request for a new functionality)
  • [ ] Question
  • [ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: [u'-o', u'~/Movies/youtube-dl/%(title)s-%(season_number)s-%(episode_number)s-%(episode)s.%(ext)s', u'--write-description', u'--write-info-json', u'--write-thumbnail', u'--write-sub', u'--netrc', u'--audio-format', u'mp3', u'--keep-video', u'--prefer-ffmpeg']
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.npostart.nl/wild-thailand/30-08-2018/POW_03551845']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.15 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.0, ffprobe 4.0
[debug] Proxy map: {}
[npo] POW_03551845: Downloading JSON metadata
[npo] POW_03551845: Downloading token
[npo] POW_03551845: Downloading formats JSON
ERROR: No video formats found; 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/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/npo.py", line 179, in _real_extract
    return self._get_info(video_id)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/npo.py", line 342, in _get_info
    self._sort_formats(formats)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1281, in _sort_formats
    raise ExtractorError('No video formats found')
ExtractorError: No video formats found; 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.
<end of log>

Description of your issue, suggested solution and other information

Public movies that are available to NPO Start users can be downloaded. Movies that are only available to NPO Start Plus users can be seen on the URL fed to youtube-dl, but cannot be downloaded with this script.

mwesten avatar Aug 19 '18 18:08 mwesten