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
Error downloading video from la7.it #31290
Comments
I can reproduce this. The URL works with yt-dlp: we need to back-port the extractor, like this: $ python -m youtube_dl -v -F 'https://www.la7.it/piazzapulita/rivedila7/piazzapulita-puntata-del-13102022-14-10-2022-455682'
[debug] System config: [u'--prefer-ffmpeg']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-F', u'https://www.la7.it/piazzapulita/rivedila7/piazzapulita-puntata-del-13102022-14-10-2022-455682']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: 6ec4a2497
[debug] Python version 2.7.17 (CPython) - Linux-4.4.0-210-generic-i686-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 4.3, avprobe 4.3, ffmpeg 4.3, ffprobe 4.3
[debug] Proxy map: {}
[la7.it] piazzapulita-puntata-del-13102022-14-10-2022-455682: Downloading webpage
[la7.it] piazzapulita-puntata-del-13102022-14-10-2022-455682: Downloading MPD manifest
[la7.it] piazzapulita-puntata-del-13102022-14-10-2022-455682: Downloading m3u8 information
[la7.it] /content/entry/data/0/530/0_33adfnkc_0_ddfjg19j_1: Check filesize
[la7.it] /content/entry/data/0/530/0_33adfnkc_0_vtffps07_1: Check filesize
[info] Available formats for piazzapulita-puntata-del-13102022-14-10-2022-455682:
format code extension resolution note
dash-f1-a1-x3 m4a audio only DASH audio 63k , m4a_dash container, mp4a.40.2 (44100Hz)
dash-f2-a1-x3 m4a audio only DASH audio 128k , m4a_dash container, mp4a.40.2 (48000Hz)
dash-f1-v1-x3 mp4 640x360 DASH video 599k , mp4_dash container, avc1.42c01e, 25fps, video only
dash-f2-v1-x3 mp4 1280x720 DASH video 1203k , mp4_dash container, avc1.64001f, 25fps, video only
hls-663 mp4 640x360 663k , avc1.42c01e, 25.0fps, mp4a.40.2
https-663 mp4 640x360 663k , avc1.42c01e, 25.0fps, mp4a.40.2, ~882.61MiB
hls-1331 mp4 1280x720 1331k , avc1.64001f, 25.0fps, mp4a.40.2
https-1331 mp4 1280x720 1331k , avc1.64001f, 25.0fps, mp4a.40.2, ~1.72GiB (best)
$ In your configuration you could test the |
Thanks for your quick response. When I access the folder "/usr/local/bin" and run "ls -la" command I get a youtube-dl file but no youtube-dl folder (see below). I have used the find command to scan the whole system but haven't found any folder called youtube-dl or youtube_dl. I am not sure then how to replace the files. user@user:/usr/local/bin$ ls -la |
Ah. Maybe the single executable file installation (is that what you used?) appears to have installed itself in When a PR appears to fix this I'll suggest how to install it for testing. |
Yes, I have installed it using the following commands as in the instructions: sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl |
See yt-dlp/yt-dlp#5360 (comment) for another necessary change to be rolled in. |
Thanks. I guess I can only wait at the moment, there is not yet a patch available, right? |
We know what the patch is but there isn't a patched yt-dl release. If you install yt-dl using pip, the extractor modules will be installed somewhere on your disk. Then you can replace the |
I have installed it now using pip as you suggested, but also in this case I don't get the folder you mention, I only get a youtube-dl file in the folder "/usr/local/bin". |
If you run the yt-dl instance installed with pip as in your original post, it should give you some output that will show where the files are installed. In that case there was this line:
You might instead see
or maybe |
Thanks a lot for your support. I have replaced the la7.py file in the path you mentioned. This time I don´t get anymore the JSON error but I get the error of "no video formats found", see below: youtube-dl --verbose --no-playlist -o "%(title)s.%(ext)s" https://www.la7.it/piazzapulita/rivedila7/piazzapulita-puntata-del-13102022-14-10-2022-455682 |
Did you also make the change from yt-dlp/yt-dlp#5360 (comment)? The surrounding lines in the diff shown there may be slightly different but the pattern to be changed is the same. |
That worked! Now I could download the video from la7.it Thanks really a lot for your help! |
Hi, I get the following error when I try to download a video from www.la7.it:
The text was updated successfully, but these errors were encountered: