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

Api not exists error #8429

Closed
iiei opened this issue Feb 4, 2016 · 3 comments
Closed

Api not exists error #8429

iiei opened this issue Feb 4, 2016 · 3 comments

Comments

@iiei
Copy link

@iiei iiei commented Feb 4, 2016

I can't download videos from Naver Vlive

youtube-dl -v http://www.vlive.tv/video/5247
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.vlive.tv/video/5247']
[debug] Encodings: locale cp949, fs mbcs, out cp949, pref cp949
[debug] youtube-dl version 2016.02.04
[debug] Python version 2.7.10 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[vlive] 5247: Download video page
[vlive] 5247: Downloading video json
ERROR: GPOP_globalV/vod/5247/playinfo : Api not exists ; please report this issue on https://yt-dl.org/bug . Make sure you are using
the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl w
ith the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 666, in extract_info
  File "youtube_dl\extractor\common.pyo", line 313, in extract
  File "youtube_dl\extractor\vlive.pyo", line 55, in _real_extract
ExtractorError: GPOP_globalV/vod/5247/playinfo : Api not exists (\uc874\uc7ac\ud
558\uc9c0 \uc54a\ub294 API \uc785\ub2c8\ub2e4.); please report this issue on htt
ps://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-d
l -U  to update. Be sure to call youtube-dl with the --verbose flag and include
its complete output.
@EraYaN
Copy link
Contributor

@EraYaN EraYaN commented Feb 6, 2016

PR #6621 seems to need an update. Naver has disabled all downloading though the (previous) API.

The web version has now switched to a Flash Player player, but the underlying stream is still the same, still *.ts parts without any DRM.

EDIT:

In the flashvars on the website get the 'api' variable, request this, it returns an XML document and you need (change doct=xml to doct=json for a json response)

videoSource -> videos -> video (with highest width and hieght as xml attributes) -> source

and

videoSource -> streams -> stream -> source and key

and

videoSource -> captions -> caption -> source and key

This is the url scheme:

//global.apis.naver.com/rmcnmv/rmcnmv/vod_play_videoInfo.json?videoId={video_id}&key={key}&ptc={protocol, http}&doct={response type, json|xml}&cpt={subtitle type, ttml|vtt}&cc={caption lang, any 2 letter all captial language code}&lc={locale, all caps language code like EN_US}&adi=null&adu=null&

No idea what adi and adu do, maybe for live streams.

@EraYaN
Copy link
Contributor

@EraYaN EraYaN commented Feb 6, 2016

Implemented in #8446, waiting for merge.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 7, 2016

This issue has been fixed and fix will be incorporated in the next version of youtube-dl.

@dstftw dstftw closed this Feb 7, 2016
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
3 participants
You can’t perform that action at this time.