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.
Hi, videos that requires authentication not downloading anymore. Tryed both with auth cookie and --username and Password. It says 403 Forbidden. Here below the verbose output:
C:\Users\User\Downloads>youtube-dl.exe --cookies cookie.txt https://it.dplay.com/discovery-channel/una-famiglia-fuori-dal-mondo/stagione-4-episodio-17-gli-amici/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookie.txt', 'https://it.dplay.com/discovery-channel/una-famiglia-fuori-dal-mondo/stagione-4-episodio-17-gli-amici/', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.10.29
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 3.4.1
[debug] Proxy map: {}
[debug] Using fake IP 79.62.172.157 (IT) as X-Forwarded-For.
[DPlay] una-famiglia-fuori-dal-mondo/stagione-4-episodio-17-gli-amici: Downloading token
[DPlay] una-famiglia-fuori-dal-mondo/stagione-4-episodio-17-gli-amici: Downloading JSON metadata
[DPlay] una-famiglia-fuori-dal-mondo/stagione-4-episodio-17-gli-amici: Downloading JSON metadata
ERROR: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\dplay.py", line 158, in _get_disco_api_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 892, in _download_json
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 870, in _download_json_handle
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 660, in _download_webpage_handle
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 645, in _request_webpage
youtube_dl.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\YoutubeDL.py", line 2237, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\dplay.py", line 158, in _get_disco_api_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 892, in _download_json
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 870, in _download_json_handle
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 660, in _download_webpage_handle
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 645, in _request_webpage
youtube_dl.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); 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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\dplay.py", line 243, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\dplay.py", line 167, in _get_disco_api_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmps7501na1\build\youtube_dl\extractor\common.py", line 936, in raise_login_required
youtube_dl.utils.ExtractorError: This video is only available for registered users. Use --username and --password or --netrc to provide account credentials.