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.
youtube-dl 2018.02.26: "urlopen error unknown url type: npo+drm" for `youtube-dl -v -k https://www.npo.nl/het-is-hier-autistisch/01-03-2018/BV_101386590` #15742
Comments
|
Please do NOT close this issue until a release that undoes the regression: this way it is easier to track for everyone involved.
This issue will document how to binary search a homebrew installation for the last working and first failing version so it is easier to find the actual cause of a failure.
2018.02.04)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
-vflag 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 ```):Output of
youtube-dl -v -k https://www.npo.nl/het-is-hier-autistisch/01-03-2018/BV_101386590:Description of your issue, suggested solution and other information
NPO downloads fail with an
ERROR: unable to download video data: <urlopen error unknown url type: npo+drm>It looks like NPO recently changed their format as this used to work two weeks ago, but fails now with the same error
youtube-dl -k https://www.npo3.nl/het-is-hier-autistisch/15-02-2018/BV_101386592These URL formats now fail but did not in the past:
Since #15725 indicates it is a regression from around
2018.02.04, I've dug deeper using a binary search homebrew (see below) pinpointing the failure between ... and ...Finding the breaking release
This is based on the excellent article Zoltan Altfatter: Install a specific version of a formula with homebrew
This got me these relevant commits:
Comparing to https://github.com/rg3/youtube-dl/releases, this one is missing but hopefully not relevant: https://github.com/rg3/youtube-dl/releases/tag/2018.02.25
These were the ones already on my system:
This meant I needed to install these ones:
This got them:
as the new version list shows:
Binary search
Fails:
Succeeds:
Succeeds:
Fails:
Failure:
My gut feeling is that one of these is the culprit as they are all marked
[npo]:If time permits, I will try getting individual commits and try to binary search even further.