-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ITV] ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); #30544
Comments
There's a PR #30266 that is needed for ITV now (also use In either case https://www.itv.com/hub/itv-evening-news/2a4545a1579 works but https://www.itv.com/hub/itv-evening-news/2a4545a1578 gives 404, "No longer available" according to ITV. |
WFM in UK ( |
Hi, |
yt-dlp is a forked version of yt-dl that only supports newer Python versions and has some further potential capabilities and dependencies. As you're using yt-dlp, you should raise any problems in its tracker. Try to provide text logs (see, eg, https://www.laptopmag.com/articles/how-to-windows-10-command-prompt-copy) and use the Your timeout issues might be a problem with your internet connection, or with the ITV site, or possibly deliberate interference by the ITV site which might be alleviated by specifying a different user agent string, eg |
Checklist
Verbose log
Description
WRITE DESCRIPTION HERE
I hope I'm reporting this correctly.
The error, which is not with every download, started about a day or two ago which is,
ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",));
Sometimes I get the error 404 but it's really the above error. It affects only downloads from the ITV channel & it can be with a news programme from yesterday to Emmerdale from the 01st January to the 14th January to other ones since then but not all of them.
The latest youtube-dl file 17-12-2021 seemed to have more problems than the one I was using which was the 26-04-2021.
Until about 2 days ago I've never had or seen the above error before.
Firstly, the following is what came up when I first tried to download the programme.
C:\Users\User\Videos\youtube-dl Downloads>youtube-dl https://www.itv.com/hub/itv-evening-news/2a4545a1578
[ITV] 2a4545a1578: Downloading webpage
ERROR: Unable to download webpage: '' (caused by BadStatusLine("''",)); 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.
Then the following is the verbose.
C:\Users\User\Videos\youtube-dl Downloads>youtube-dl https://www.itv.com/hub/itv-evening-news/2a4545a1578 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.itv.com/hub/itv-evening-news/2a4545a1578', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 4.0.2, ffprobe 3.4.1
[debug] Proxy map: {}
[debug] Using fake IP 25.25.61.236 (GB) as X-Forwarded-For.
[ITV] 2a4545a1578: Downloading webpage
[ITV] 2a4545a1578: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (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.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 634, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 2288, 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
As well as the above programme the following are a small selection of other programmes with the same error trying to download.
youtube-dl https://www.itv.com/hub/good-morning-britain/2a3211a3218
youtube-dl https://www.itv.com/hub/coronation-street/1a0694a10537
youtube-dl https://www.itv.com/hub/loose-women/1a3173a3902
youtube-dl https://www.itv.com/hub/this-morning/2a6292a0758
youtube-dl https://www.itv.com/hub/itv-evening-news/2a4545a1579
I've just tried a different wi-fi network & it's the same.
I've noticed in the verbose it says I've got Python version 3.4.4 (CPython) but in Control Panel it says I've got Python 3.9.5 (64-bit). The reason why I was checking to see if I've got the latest version thinking that by getting the latest version might have an effect on the error.
The text was updated successfully, but these errors were encountered: