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.
[9Now] ERROR: Unable to extract policy key #15803
Comments
|
I've just downloaded that show with no problems (from within Australia). Perhaps it was a transitory problem with the 9Now site. Make sure you give youtube-dl the full URL – your result seems to have been based on http whereas 9Now uses https. You could also update ffmpeg and ffprobe to v3.4.2. |
|
So I updated ffmpeg and ffprobe to 3.4.2-1, and still encounter the error on both ubuntu hosts, however, the same link works fine on my windows desktop. Happy to call this solved, since I can just spin up a windows VM if I want to automate my downloads. Thanks.
|
|
Might be best to leave open in case there is an issue, although that seems unlikely – I'm using a copy from "yt-dl.org/downloads/latest/youtube-dl" on macOS without that problem. You might get a different result with the 2018.03.10 version. Are other downloads working ? |
|
Updated to the latest version, still get the same error
I'm able to download videos from other sites like youtube
|
|
I have the same issues on Windows
|
|
'Tis odd. Here is what I've just run:
So, I don't know what's going on. I can only scratch for ideas. Are you inside Australia ? Most FTA broadcasters have geo-blocks in place (although youtube-dl can get around them). Are you going through a VPN ? Hopefully one of the ytdl experts can help. |
|
Yes, I am inside Australia. Just tried on MacOS and the same issue. |
|
Heck. I'm trying to imagine what could be preventing you from access 9Now but not me. Do you have any modem settings that could be involved ? e.g. port forwarding or anything like that ? It looks like the error happens when youtube-dl tries to DL the web page or the JSON data. Can you track the ip address from which youtube-dl is trying to DL ? On a Mac, the "LittleSnitch" utility can help with that. Perhaps if we can find out what the "policy key" is, it will be solvable. There's an interesting bit in the error "Unable to extract %s' % _name". Is that the show name ? Try replicating the command line that worked for me which has an output template. i.e.: youtube-dl --restrict-filenames --no-overwrites --verbose -o 'travel_guides-%(title)s.%(ext)s' "https://www.9now.com.au/travel-guides/season-2/episode-4" Another idea: add the "--print-traffic" option. That might show a problem with youtube-dl trying to access something. |
|
Found my issue. PiHole has been blocking players.brightcove.net whitelisted the domain, back in action! Thanks for your assistance. |
|
Yep my issue is solved too. Didn't even consider that could be the problem. Thanks for your help, @section83 |
|
Good to know problem's solved. If you're using a Mac, have a look at MacYTDL. I'm currently working on v1.4 and need some feedback on what it does/does not. Cheers. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.03. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of 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
-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 ```):Description of your issue, suggested solution and other information
Attempted to download video from www.9now.com.au and encountered the above error. The site is on the supported site list. I have tried the following:
All attempts return the same error as above: ERROR: Unable to extract policy key.
Thanks in advance for your help :)