Skip to content
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

Unable to download from Miomio.us #26769

Open
taike48 opened this issue Oct 1, 2020 · 8 comments
Open

Unable to download from Miomio.us #26769

taike48 opened this issue Oct 1, 2020 · 8 comments

Comments

@taike48
Copy link

@taike48 taike48 commented Oct 1, 2020

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl-v https://miomio.us/gamecenter201001.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://miomio.us/gamecenter201001.html']
[debug] Encodings: locale cp932, fs mbcs, out cp932, pref cp932
[debug] youtube-dl version 2020.09.20
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[generic] gamecenter201001: Requesting header
WARNING: Falling back on generic information extractor.
[generic] gamecenter201001: Downloading webpage
[generic] gamecenter201001: Extracting information
ERROR: Unsupported URL: https://miomio.us/gamecenter201001.html
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpksi3o1r1\build\youtube_dl\extractor\generic.py", line 3382, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://miomio.us/gamecenter201001.html

Description

I am unable to download videos from Miomio.us, i.e. https://miomio.us/gamecenter201001.html

@txmutt
Copy link

@txmutt txmutt commented Oct 2, 2020

The URL regex in the miomio extractor seems to only match URLs with the ".tv" extension, not ".us". All test cases for the extractor fail, since the "miomio.tv" domain no longer exists.

@taike48
Copy link
Author

@taike48 taike48 commented Oct 3, 2020

Any chances of this new domain being added?

@october262
Copy link

@october262 october262 commented Oct 3, 2020

try using the addon video download helper
it's detecting the video files

@txmutt
Copy link

@txmutt txmutt commented Oct 3, 2020

As for the current extractor, it seems like it will need a pretty major rework. At a glance, miomio stores JSON data in the options attribute in a div element whose class element equals vid-card_cnt h-mod. Within the metadata key of this data lies a big string of JSON data about the video specifically. From there, you can find direct links to all of the video variants sorted from lowest quality to highest in an array called videos (use -1 as an index to select the last video in the array.)

@txmutt
Copy link

@txmutt txmutt commented Oct 3, 2020

This data also contains other valuable info like the title, ID, and thumbnail of the video in the movie key.

@Kenniq
Copy link

@Kenniq Kenniq commented Oct 3, 2020

I've been trying to follow as you said but I'm having trouble finding. Could you help me out?

@txmutt
Copy link

@txmutt txmutt commented Oct 4, 2020

Seems like there are multiple different players Miomio embeds in an iframe, mainly JWPlayer and the OdnoKlassniki player.

For the OK player, right click on it while it's playing, and click "Link to video". Paste that link into youtube-dl to download the video. As for JWPlayer, I'll examine it when I find some spare time.

@txmutt
Copy link

@txmutt txmutt commented Oct 4, 2020

Or just use a browser add-on that can detect these streams, like @october262 suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.