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

Site Request for dlive.tv #18080

Closed
nyanmeister opened this issue Nov 5, 2018 · 8 comments
Closed

Site Request for dlive.tv #18080

nyanmeister opened this issue Nov 5, 2018 · 8 comments

Comments

@nyanmeister
Copy link

@nyanmeister nyanmeister commented Nov 5, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.11.03. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.11.03

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

$ youtube-dl --version
2018.11.03

$ youtube-dl -v https://dlive.tv/p/theralphretort+2odT12WRg
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://dlive.tv/p/theralphretort+2odT12WRg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.11.03
[debug] Python version 3.5.3 (CPython) - Linux-4.9.0-8-amd64-x86_64-with-debian-9.5
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1
[debug] Proxy map: {}
[generic] theralphretort+2odT12WRg: Requesting header
WARNING: Falling back on generic information extractor.
[generic] theralphretort+2odT12WRg: Downloading webpage
[generic] theralphretort+2odT12WRg: Extracting information
ERROR: Unsupported URL: https://dlive.tv/p/theralphretort+2odT12WRg
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/generic.py", line 3298, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://dlive.tv/p/theralphretort+2odT12WRg



@ksjk1998
Copy link

@ksjk1998 ksjk1998 commented Nov 5, 2018

hey, just wanted to let you know that a hotfix for this is to veiw the page source, ctrl+f ".m3u8", copy/paste the link, change unicode escape characters like \u002F to their actual characters. (replace \u002F to /). and execute

@CeruleanSky
Copy link
Contributor

@CeruleanSky CeruleanSky commented Nov 6, 2018

For the live stream, you can get the m3u8 from the url as follows:

re.compile(r'^https?://(?:www.)?dlive.tv/(\w+).*$')
username = _RE_URL.match(url).group(1)
m3u8 = 'https://live.dlivecdn.com/hls/live/{0}.m3u8'.format(username)

The live.dlivecdn.com m3u8 will contain as such as "https://mn-nl-glb.mncdn.com/dlive/transcode-X-XXX/username/playlist.m3u8" which will 404 when the livestream is offline.

youtube-dl works fine with a direct link to https://live.dlivecdn.com/hls/live/{0}.m3u8'.format(username) when the stream is online.

@nyanmeister
Copy link
Author

@nyanmeister nyanmeister commented Nov 6, 2018

For the live stream, you can get the m3u8 from the url as follows:

re.compile(r'^https?://(?:www.)?dlive.tv/(\w+).*$')
username = _RE_URL.match(url).group(1)
m3u8 = 'https://live.dlivecdn.com/hls/live/{0}.m3u8'.format(username)

The live.dlivecdn.com m3u8 will contain as such as "https://mn-nl-glb.mncdn.com/dlive/transcode-X-XXX/username/playlist.m3u8" which will 404 when the livestream is offline.

youtube-dl works fine with a direct link to https://live.dlivecdn.com/hls/live/{0}.m3u8'.format(username) when the stream is online.

Thanks for the details! Been using the .m3u8 bit since the other user suggested it, until the site gets more official support.

@kebabkalle
Copy link

@kebabkalle kebabkalle commented Apr 11, 2019

Any progress on this one?

@ealgase
Copy link
Contributor

@ealgase ealgase commented Apr 12, 2019

@kebabkalle working on it

@babadoctor
Copy link

@babadoctor babadoctor commented Apr 30, 2019

Updates?

@ealgase
Copy link
Contributor

@ealgase ealgase commented Apr 30, 2019

I need to find a way to properly extract the dictionary keys.

@mayeaux
Copy link

@mayeaux mayeaux commented Jun 28, 2019

+1 for this!

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
8 participants
You can’t perform that action at this time.