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.
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 2019.01.24. 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?
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
-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 ```):[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.dr.dk/tv/se/boern/ramasjang/pyjamasheltene/pyjamasheltene-2/pyjamasheltene-23', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.01.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[drtv] pyjamasheltene-23: Downloading webpage
[drtv] pyjamasheltene-23: Downloading video JSON
ERROR: Unfortunately, DR is not allowed to show this program outside Denmark.
This video is available in Denmark.
You might want to use a VPN or a proxy server (with --proxy) to workaround.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa8aoq3sz\build\youtube_dl\YoutubeDL.py", line 793, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa8aoq3sz\build\youtube_dl\extractor\common.py", line 508, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa8aoq3sz\build\youtube_dl\extractor\drtv.py", line 160, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpa8aoq3sz\build\youtube_dl\extractor\common.py", line 918, in raise_geo_restricted
youtube_dl.utils.GeoRestrictedError: Unfortunately, DR is not allowed to show this program outside Denmark.
Description of your issue, suggested solution and other information
Since yesterday, when trying to download
https://www.dr.dk/tv/se/boern/ramasjang/pyjamasheltene/pyjamasheltene-2/pyjamasheltene-23
I get the above error, pointing to that there is a geo-blocking that would allow seeing the file only in Denmark. However, my location is actually in Denmark, and seeing the film online in e.g. chrome works still without problem. I tried on two different computers in Denmark, one with Windows10 and the other wiht Ubuntu, but always get the same error - while two days ago, youtube-dl was able to download the same file on the same Windows10 computer and same environment without problems. I suppose therefore that there have been some changes on the side of dr.dk/ramasjang. DR Ramasjang is one of the channels by DR - the national public media org in Denmark.