ARTE (France) HTTP Error 500 since 2 days #25181

Open
opened 2026-02-21 12:24:00 -05:00 by deekerman · 12 comments
Owner

Originally created by @dnagis on GitHub (Apr 21, 2022).

hello :)

report: multiple links on ARTE.fr show the same error: I report one below

# youtube-dl --verbose https://www.arte.tv/fr/videos/107231-000-A/bresil-le-retour-de-la-faim/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.arte.tv/fr/videos/107231-000-A/bresil-le-retour-de-la-faim/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.2 (CPython) - Linux-5.6.18-x86_64-with-glibc2.2.5
[debug] exe versions: none
[debug] Proxy map: {}
[ArteTV] 107231-000-A: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by <HTTPError 500: 'Internal Server Error'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
Originally created by @dnagis on GitHub (Apr 21, 2022). hello :) report: multiple links on ARTE.fr show the same error: I report one below ``` # youtube-dl --verbose https://www.arte.tv/fr/videos/107231-000-A/bresil-le-retour-de-la-faim/ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.arte.tv/fr/videos/107231-000-A/bresil-le-retour-de-la-faim/'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.8.2 (CPython) - Linux-5.6.18-x86_64-with-glibc2.2.5 [debug] exe versions: none [debug] Proxy map: {} [ArteTV] 107231-000-A: Downloading JSON metadata ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by <HTTPError 500: 'Internal Server Error'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) ```
Author
Owner

@dirkf commented on GitHub (Apr 21, 2022):

Once the above PR is stable, we can back-port it.

@dirkf commented on GitHub (Apr 21, 2022): Once the above PR is stable, we can back-port it.
Author
Owner

@dirkf commented on GitHub (Apr 21, 2022):

However (untested):
https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1105479225

@dirkf commented on GitHub (Apr 21, 2022): However (untested): https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1105479225
Author
Owner

@dnagis commented on GitHub (Apr 22, 2022):

Ok, Arte video download work like a charm with yt-dlp. Thank you very much!

@dnagis commented on GitHub (Apr 22, 2022): Ok, Arte video download work like a charm with yt-dlp. Thank you very much!
Author
Owner

@dirkf commented on GitHub (Apr 22, 2022):

According to the link, yt-dl should be working again too.

@dirkf commented on GitHub (Apr 22, 2022): According to the link, yt-dl should be working again too.
Author
Owner

@keimlink commented on GitHub (Apr 25, 2022):

Yes, successfully downloaded a video on 2020-04-21 from Arte using youtube-dl. 💯

@keimlink commented on GitHub (Apr 25, 2022): Yes, successfully downloaded a video on 2020-04-21 from Arte using youtube-dl. 💯
Author
Owner

@StephaneAscoet commented on GitHub (May 12, 2022):

According to the link, yt-dl should be working again too.
Yes, successfully downloaded a video on 2020-04-21 from Arte using youtube-dl.

What?! How do you do? It doesn't work with me on several computers, several networks... for days and days!
And I can't switch back to Qarte since this one doesn't work anymore for months :-(

@StephaneAscoet commented on GitHub (May 12, 2022): > According to the link, yt-dl should be working again too. > Yes, successfully downloaded a video on 2020-04-21 from Arte using youtube-dl. What?! How do you do? It doesn't work with me on several computers, several networks... for days and days! And I can't switch back to Qarte since this one doesn't work anymore for months :-(
Author
Owner

@andreygursky commented on GitHub (May 12, 2022):

be working again too.

What?!

At those moment ARTE activated access over API v1 again. But only temporary. For now one can patch yt-dlp manually using https://github.com/yt-dlp/yt-dlp/pull/3302. This solution uses the new API v2.

@andreygursky commented on GitHub (May 12, 2022): >> be working again too. > > What?! At those moment ARTE activated access over API v1 again. But only temporary. For now one can patch yt-dlp manually using https://github.com/yt-dlp/yt-dlp/pull/3302. This solution uses the new API v2.
Author
Owner

@StephaneAscoet commented on GitHub (May 13, 2022):

be working again too.

What?!

At those moment ARTE activated access over API v1 again. But only temporary. For now one can patch yt-dlp manually using yt-dlp/yt-dlp#3302. This solution uses the new API v2.

Except that I read this 3302 multiples times and didn't understand how to solve the problem like written on https://github.com/yt-dlp/yt-dlp/issues/3502#issuecomment-1120787915

@StephaneAscoet commented on GitHub (May 13, 2022): > > > be working again too. > > > > > > What?! > > At those moment ARTE activated access over API v1 again. But only temporary. For now one can patch yt-dlp manually using [yt-dlp/yt-dlp#3302](https://github.com/yt-dlp/yt-dlp/pull/3302). This solution uses the new API v2. Except that I read this 3302 multiples times and didn't understand how to solve the problem like written on https://github.com/yt-dlp/yt-dlp/issues/3502#issuecomment-1120787915
Author
Owner

@zebulon-1st commented on GitHub (May 25, 2022):

Thank you for this patch (API v2). Now it works fine to me too. It was not so easy, especially because I'm neither familiar with python nor with diff. So I applied this patch manually, and yt-dlp works fine with ARTE.tv.

@zebulon-1st commented on GitHub (May 25, 2022): Thank you for this patch (API v2). Now it works fine to me too. It was not so easy, especially because I'm neither familiar with python nor with diff. So I applied this patch manually, and yt-dlp works fine with ARTE.tv.
Author
Owner

@dirkf commented on GitHub (May 31, 2022):

https://github.com/ytdl-org/youtube-dl/issues/30923#issuecomment-1141829774:

I've switched to yt-dlp, which works after replacing the arte.py file with this one.
Note that audio and video files apparently need to be downloaded separately after identifying them with the -F swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4.

Just specify -f x+y where x is the video format and y is the audio format.

Once the yt-dlp PR is ready, we can back-port it to yt-dl.

@dirkf commented on GitHub (May 31, 2022): https://github.com/ytdl-org/youtube-dl/issues/30923#issuecomment-1141829774: >I've switched to yt-dlp, which works after replacing the arte.py file with this one. Note that audio and video files apparently need to be downloaded separately after identifying them with the -F swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4. Just specify [`-f x+y`](https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1140455036) where x is the video format and y is the audio format. Once the yt-dlp PR is [ready](https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1141418769), we can back-port it to yt-dl.
Author
Owner

@oblab commented on GitHub (Sep 9, 2022):

#30923 (comment):

I've switched to yt-dlp, which works after replacing the arte.py file with this one.
Note that audio and video files apparently need to be downloaded separately after identifying them with the -F swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4.

Just specify -f x+y where x is the video format and y is the audio format.

Once the yt-dlp PR is ready, we can back-port it to yt-dl.

no need to switch to yt-dpl, you can open Developper tools in Firefox, go to network>Media, copy/paste the link from the mp4 and audio file in youtube-dl command, then use ffmpeg as explain to combine then

@oblab commented on GitHub (Sep 9, 2022): > [#30923 (comment)](https://github.com/ytdl-org/youtube-dl/issues/30923#issuecomment-1141829774): > > > I've switched to yt-dlp, which works after replacing the arte.py file with this one. > > Note that audio and video files apparently need to be downloaded separately after identifying them with the -F swtich (at least based on my so far limited experience). Then you can use ffmpeg to combine them: ffmpeg -i audio.mp4 -i video.mp4 -c:v copy -c:a copy output.mp4. > > Just specify [`-f x+y`](https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1140455036) where x is the video format and y is the audio format. > > Once the yt-dlp PR is [ready](https://github.com/yt-dlp/yt-dlp/pull/3302#issuecomment-1141418769), we can back-port it to yt-dl. no need to switch to yt-dpl, you can open Developper tools in Firefox, go to network>Media, copy/paste the link from the mp4 and audio file in youtube-dl command, then use ffmpeg as explain to combine then
Author
Owner

@Atrebate commented on GitHub (Oct 3, 2022):

no need to switch to yt-dpl, you can open Developper tools in Firefox, go to network>Media, copy/paste the link from the mp4 and audio file in youtube-dl command, then use ffmpeg as explain to combine then

Thank you for your solution, I'm very lucky to save Videos again with my 'old' youtube-dl .....!!!!

Un grand merci à OBLAB pour cette solution.

@Atrebate commented on GitHub (Oct 3, 2022): _**no need to switch to yt-dpl**, you can open Developper tools in Firefox, go to network>Media, copy/paste the link from the mp4 and audio file in youtube-dl command, then use ffmpeg as explain to combine then_ Thank you for your solution, I'm very lucky to save Videos again with my 'old' youtube-dl .....!!!! ### Un grand merci à OBLAB pour cette solution.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#25181
No description provided.