Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[extractor,downloader/niconico] support new delivery server called Dowango Media Service(DMS) #8685
[extractor,downloader/niconico] support new delivery server called Dowango Media Service(DMS) #8685
Changes from 11 commits
d5dd9bf
ebade16
36af8e6
61fbeee
d5a624c
5545d28
d38ffc7
13f176d
dcad2b6
e7fb02f
b88b9fc
c8f53fb
2128bfb
8392541
ab24153
860c050
c14b60e
f3b369f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion
This API will return HTTP 400 but some info of the video.
Why am I here
In #9338 (comment) , I couldn't get the "api_data" JSON from some videos. No json means no metadata. The "v3_guest" API solved my problem.
As a guest, I tested anime episode so43309069 - 戦国妖狐 世直し姉弟編 #3「永禄七年」 アニメ/動画 - ニコニコ動画 without valid Cookies:
With Japan IP:
Without Japan IP:
"DOMESTIC_VIDEO" means geo-restriction. "PPV_VIDEO" means "premium_only".
For members-only videos in fanclubs:
In #9338 (comment) , I wrote :
Hence, both "PPV_OR_CHANNEL_MEMBER_VIDEO" and "CHANNEL_MEMBER_ONLY" mean "subscriber_only".
Conclusion
With the "v3_guest" API, we are able to extract more information. I think @xpadev-net should add this to the niconico IE by opening a new PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary? Did you encounter some problems with the video id?