question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Site support request] weverse.io

See original GitHub issue

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I’m reporting a new site support request
  • I’ve verified that I’m running yt-dlp version 2022.08.19 (update instructions) or later (specify commit)
  • I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
  • I’ve checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
  • I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue
  • I’ve read about sharing account credentials and am willing to share it if required

Region

Worldwide

Example URLs

Single video:

Page with all video:

Provide a description that is worded well enough to be understood

Weverse is a website where musicians can interact with fans. The website also allows musicians to livestream but in order to view a livestream you have to be logged in. When the livestream ends it’s uploaded as a video. I found a reddit thread where an user mentioned they could get the m3u8/mpd files but they couldn’t get past the 403 forbidden error. reddit thread

Musicians can also post videos but these have a download button so I am not sure if support for this should be added. Example url: https://weverse.io/blackpink/artist/1-101521998

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://weverse.io/blackpink/live/2-102735330']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.19 [48c88e0] (zip)
[debug] Python 3.10.4 (CPython 64bit) - Linux-5.15.0-41-generic-x86_64-with-glibc2.35 (glibc 2.35)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: certifi-2020.06.20, secretstorage-3.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.08.19, Current version: 2022.08.19
yt-dlp is up to date (2022.08.19)
[debug] [generic] Extracting URL: https://weverse.io/blackpink/live/2-102735330
[generic] 2-102735330: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 2-102735330: Extracting information
[debug] Looking for Brightcove embeds
[debug] Looking for embeds
ERROR: Unsupported URL: https://weverse.io/blackpink/live/2-102735330
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1442, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1518, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 666, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 3077, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://weverse.io/blackpink/live/2-102735330

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
bashonlycommented, Nov 14, 2022

Will this now be “implemented” in the yt-dlp to work without that compley m3u8 stuff?

I’ve submitted a PR (#5528) that addresses generic VOD HLS streams which need their playlist URL’s query appended to their segment URLs

1reaction
swith-wiz-kevcommented, Oct 31, 2022

if you can find the link of the m3u8 file, and do some simple find and replace on the m3u8, you can download the weverse live video.

the problem is that if you find the m3u8 and just paste it on the command line, it will return the 403 error for example:

yt-dlp https://weverse-rmcnmv.akamaized.net/c/read/v2/VOD_ALPHA/weverse_2022_10_29_0/hls/211decac-579b-11ed-ab80-48df37269fd0.m3u8?__gda__=1667213637_55d66afcafc74d033cf5e6affe0e7f43

this will download the m3u8 and this is what the m3u8 contains:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:4
#EXTINF:4.000000,
211decac-579b-11ed-ab80-48df37269fd0-000000.ts
#EXTINF:4.000000,
211decac-579b-11ed-ab80-48df37269fd0-000001.ts
#EXTINF:4.000000,
211decac-579b-11ed-ab80-48df37269fd0-000002.ts
.
.

the next part is yt-dlp downloads the fragments and probably uses the url:

https://weverse-rmcnmv.akamaized.net/c/read/v2/VOD_ALPHA/weverse_2022_10_29_0/hls/211decac-579b-11ed-ab80-48df37269fd0-000001.ts
https://weverse-rmcnmv.akamaized.net/c/read/v2/VOD_ALPHA/weverse_2022_10_29_0/hls/211decac-579b-11ed-ab80-48df37269fd0-000002.ts
.
.

this will result in 403 because you need the gda part on the original link. the link you need is:

https://weverse-rmcnmv.akamaized.net/c/read/v2/VOD_ALPHA/weverse_2022_10_29_0/hls/211decac-579b-11ed-ab80-48df37269fd0-000000.ts?__gda__=1667213637_55d66afcafc74d033cf5e6affe0e7f43
.
.

so what you need to do is replace each .ts in the m3u8 to include the extra part, and also to write the complete url (because relative url is not gonna work if you will use a different website to host your modified m3u8)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Official for All Fans - Weverse
Weverse - Official for All Fans. Fandom life made easier and more dynamic. Stay connected with your artists on Weverse.
Read more >
Weverse Account
Weverse Account Log in / Sign up ... CALL CENTER(+82)2-2097-1830. FAX(+82)2-2144-9399 ... HOSTED BYAmazon Web Service, Inc. © WEVERSE COMPANY Inc.
Read more >
Weverse Concerts - All performances for fans
Enjoy your favorite artist's concerts and live events - any time, anywhere.
Read more >
Announcements - Weverse Account
BUSINESS REGISTRATION NUMBER716-87-01158. MAIL ORDER BUSINESS REGISTRATION NUMBER2022-Seongnam Bundang A-0557. HOSTED BYAmazon Web Service, Inc.
Read more >
ARMY Member Presale - Weverse
ARMY MEMBER PRESALE for BTS PERMISSION TO DANCE ON STAGE - LAS VEGAS concert and LIVE PLAY Join ARMY MEMBERSHIP Now to get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found