Add support for player.vod2.infomaniak.com/ #25561

Open
opened 2026-02-21 12:36:03 -05:00 by deekerman · 2 comments
Owner

Originally created by @yann1108 on GitHub (Nov 5, 2022).

Checklist

  • I'm reporting a new site support request
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that none of provided URLs violate any copyrights
  • I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Description

youtube-dl -v https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp']
[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.10 (CPython) - Linux-5.4.0-131-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 1jhvl2uqg6ywp: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 1jhvl2uqg6ywp: Downloading webpage
[generic] 1jhvl2uqg6ywp: Extracting information
ERROR: Unsupported URL: https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/generic.py", line 3489, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp

THANKS FOR YOUR WORK

Originally created by @yann1108 on GitHub (Nov 5, 2022). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that site you are requesting is not dedicated to copyright infringement, see https://yt-dl.org/copyright-infringement. youtube-dl does not support such sites. In order for site support request to be accepted all provided example URLs should not violate any copyrights. - Search the bugtracker for similar site support requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [X] I'm reporting a new site support request - [X] I've verified that I'm running youtube-dl version **2021.12.17** - [X] I've checked that all provided URLs are alive and playable in a browser - [X] I've checked that none of provided URLs violate any copyrights - [X] I've searched the bugtracker for similar site support requests including closed ones ## Example URLs <!-- Provide all kinds of example URLs support for which should be included. Replace following example URLs by yours. --> - Single video: https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp ## Description <!-- Provide any additional information. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> ```shellsession youtube-dl -v https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp'] [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.10 (CPython) - Linux-5.4.0-131-generic-x86_64-with-glibc2.29 [debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4 [debug] Proxy map: {} [generic] 1jhvl2uqg6ywp: Requesting header WARNING: Falling back on generic information extractor. [generic] 1jhvl2uqg6ywp: Downloading webpage [generic] 1jhvl2uqg6ywp: Extracting information ERROR: Unsupported URL: https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper return func(self, *args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info ie_result = ie.extract(url) File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/common.py", line 534, in extract ie_result = self._real_extract(url) File "/usr/local/lib/python3.8/dist-packages/youtube_dl/extractor/generic.py", line 3489, in _real_extract raise UnsupportedError(url) youtube_dl.utils.UnsupportedError: Unsupported URL: https://player.vod2.infomaniak.com/embed/1jhvl2uqg6ywp ``` THANKS FOR YOUR WORK
Author
Owner

@dirkf commented on GitHub (Nov 7, 2022):

The problem URL has no useful data in the non-JS page the yt-dl sees, but loading it in a browser with JS enabled for vod2.infomaniak.com leads to this player JSON URL: https://res.vod2.infomaniak.com/1/vod/share/1jhvl2uqg6ywp.

Without studying the 1.5MB 1-line script, one might guess that this is formed by

  1. changing the leading domain part to res
  2. adding the first digit of the video ID 1jhvl2uqg6ywp as the first path component
  3. completing the path with vod/share/{video_id}.

Media links are found at .data.media[].source.url in the JSON, along with metadata such as title, duration.

@dirkf commented on GitHub (Nov 7, 2022): The problem URL has no useful data in the non-JS page the yt-dl sees, but loading it in a browser with JS enabled for vod2.infomaniak.com leads to this player JSON URL: https://res.vod2.infomaniak.com/1/vod/share/1jhvl2uqg6ywp. Without studying the 1.5MB 1-line script, one might guess that this is formed by 1. changing the leading domain part to `res` 2. adding the first digit of the video ID `1jhvl2uqg6ywp` as the first path component 3. completing the path with `vod/share/{video_id}`. Media links are found at `.data.media[].source.url` in the JSON, along with metadata such as title, duration.
Author
Owner

@zhuasy commented on GitHub (Nov 10, 2022):

Hey there! I'm currently a student in college and as part of my final project, I'm required to make contributions to an open-source project and write a report on my experiences (and inform the maintainers) . Could I take this issue?

@zhuasy commented on GitHub (Nov 10, 2022): Hey there! I'm currently a student in college and as part of my final project, I'm required to make contributions to an open-source project and write a report on my experiences (and inform the maintainers) . Could I take this issue?
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#25561
No description provided.