Posts: 215
Threads: 55
Joined: Sep 2019
(Jun-12-2022, 01:49 PM)Axel_Erfurt Wrote: I have Linux Mint, mpv and celluloid (based on mpv) doesn't show subtitles even though you can select them.
Xplayer shows subtitles, but you have to load them.
Did you try to rename .vtt file (e.g. .vtt --> .vkk), then play video in VLC ?
Are the subtitles still visible?
Posts: 215
Threads: 55
Joined: Sep 2019
It seems that ARTE once again changed the format of their pages.
Anyway, yt-dlp no longer works:
Output: (arte_env) pavel@ALABAMA:~/arte_env$ python3 arte_download.py
DeprecationWarning: Support for Python version 3.6 has been deprecated and will break in future versions of yt-dlp! Please update to Python 3.7 or above
[ArteTV] 104436-000-A: Downloading JSON metadata
ERROR: [ArteTV] 104436-000-A: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
Traceback (most recent call last):
File "/home/pavel/.local/lib/python3.6/site-packages/yt_dlp/extractor/common.py", line 772, in _request_webpage
return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
File "/home/pavel/.local/lib/python3.6/site-packages/yt_dlp/YoutubeDL.py", line 3594, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Posts: 7,320
Threads: 123
Joined: Sep 2016
Jun-23-2022, 11:43 AM
(This post was last modified: Jun-23-2022, 11:43 AM by snippsat.)
Pavel_47 Wrote:It seems that ARTE once again changed the format of their pages. No it's still working using the mod in post #12
Don't know it they have updated that new pull requests of arte.py into the new version of yt-dlp
You most update(which mean install a new version of Python) Python 3.6 many libraries has or will be dropping support for Python 3.6.
(arte_env) G:\1_youtube\arte_env
λ yt-dlp https://www.arte.tv/en/videos/104840-002-A/42-the-answer-to-almost-everything/
[ArteTV] 104840-002-A: Downloading JSON metadata
[ArteTV] 104840-002-A: Downloading m3u8 information
[ArteTV] 104840-002-A: Downloading m3u8 information
[ArteTV] 104840-002-A: Downloading m3u8 information
[ArteTV] 104840-002-A: Downloading m3u8 information
[ArteTV] 104840-002-A: Downloading m3u8 information
[info] 104840-002-A: Downloading 1 format(s): VOEU-STE_ANG_-2328+VOEU-STE_ANG_-program_audio_0-VOEU
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 279
[download] Destination: 42 - The Answer to Almost Everything [104840-002-A].fVOEU-STE_ANG_-2328.mp4
[download] 100% of 875.95MiB in 03:59
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 279
[download] Destination: 42 - The Answer to Almost Everything [104840-002-A].fVOEU-STE_ANG_-program_audio_0-VOEU.mp4
[download] 100% of 51.99MiB in 01:19
[Merger] Merging formats into "42 - The Answer to Almost Everything [104840-002-A].mp4"
Deleting original file 42 - The Answer to Almost Everything [104840-002-A].fVOEU-STE_ANG_-program_audio_0-VOEU.mp4 (pass -k to keep)
Deleting original file 42 - The Answer to Almost Everything [104840-002-A].fVOEU-STE_ANG_-2328.mp4 (pass -k to keep)
Posts: 215
Threads: 55
Joined: Sep 2019
Well ... everything worked after modifications, suggested by Axel_Erfurt.
But since yesterday it doesn't work anymore.
Output: (arte_env) pavel@ALABAMA:~/arte_env$ yt-dlp https://www.arte.tv/en/videos/104840-002-A/42-the-answer-to-almost-everything/
DeprecationWarning: Support for Python version 3.6 has been deprecated and will break in future versions of yt-dlp! Please update to Python 3.7 or above
[ArteTV] 104840-002-A: Downloading JSON metadata
ERROR: [ArteTV] 104840-002-A: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
(arte_env) pavel@ALABAMA:~/arte_env$
Did you update anything to make it work on your side ?
Posts: 7,320
Threads: 123
Joined: Sep 2016
Jun-23-2022, 03:40 PM
(This post was last modified: Jun-23-2022, 03:40 PM by snippsat.)
You most (Jun-23-2022, 12:58 PM)Pavel_47 Wrote: Did you update anything to make it work on your side ? You may have updated the version then the working arte.py will be overwritten.
Follow way post #12
Also copy file arte.py an overwrite the original one in your environment.
Test of the new version.
G:\1_youtube
λ python -V
Python 3.10.5
G:\1_youtube
λ python -m venv new_env
G:\1_youtube
λ cd new_env\
G:\1_youtube\new_env
λ G:\1_youtube\new_env\Scripts\activate
(new_env) G:\1_youtube\new_env
λ pip install -U yt-dlp
Collecting yt-dlp
Downloading yt_dlp-2022.6.22.1-py2.py3-none-any.whl (2.6 MB)
.....
(new_env) G:\1_youtube\new_env
λ yt-dlp https://www.arte.tv/en/videos/104840-002-A/42-the-answer-to-almost-everything/
[ArteTV] 104840-002-A: Downloading JSON metadata
ERROR: [ArteTV] 104840-002-A: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404:
'Not Found'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= ,
filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U So they have not updated the new version,so you most use the hack as described before.
Posts: 215
Threads: 55
Joined: Sep 2019
I've updated arte.py once more from here:
https://raw.githubusercontent.com/fstirl...or/arte.py
It didn't help.
Output: (arte_env) pavel@ALABAMA:~/arte_env$ yt-dlp https://www.arte.tv/fr/videos/065287-001-A/beau-sejour-1-10/
DeprecationWarning: Support for Python version 3.6 has been deprecated and will break in future versions of yt-dlp! Please update to Python 3.7 or above
[ArteTV] 065287-001-A: Downloading JSON metadata
ERROR: [ArteTV] 065287-001-A: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U
(arte_env) pavel@ALABAMA:~/arte_env$
Posts: 7,320
Threads: 123
Joined: Sep 2016
(Jun-28-2022, 09:58 AM)Pavel_47 Wrote: I've updated arte.py once more from here: The you doing something wrong,as it still work as descripted in post #12
I have not change since i did it,here is a test.
(arte_env) G:\1_youtube\arte_env
λ yt-dlp https://www.arte.tv/fr/videos/065287-001-A/beau-sejour-1-10/
[ArteTV] 065287-001-A: Downloading JSON metadata
WARNING: [ArteTV] Video is geo restricted. Retrying extraction with fake IP 53.131.51.148 (DE) as X-Forwarded-For.
[ArteTV] 065287-001-A: Downloading JSON metadata
[ArteTV] 065287-001-A: Downloading m3u8 information
[ArteTV] 065287-001-A: Downloading m3u8 information
[ArteTV] 065287-001-A: Downloading m3u8 information
[ArteTV] 065287-001-A: Downloading m3u8 information
[info] 065287-001-A: Downloading 1 format(s): VF-STF-2323+VF-STF-program_audio_0-VF
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 493
[download] Destination: Beau séjour (1_10) [065287-001-A].fVF-STF-2323.mp4
[download] 0.1% of ~372.17GiB at 4.96MiB/s ETA 21:20:11
Posts: 215
Threads: 55
Joined: Sep 2019
Here is the file arte.py I've just updated: 14.2kB
What is the size of your version ?
Posts: 215
Threads: 55
Joined: Sep 2019
I recreated the virtual environment and replaced arte.py in it with an updated version.
Now it works.
Probably something else (I mean not only arte.py) were corrupted in the old virtual environment.
|