-
Notifications
You must be signed in to change notification settings - Fork 469
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
Update MangaPlus connector #7175
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
// Based on: https://mangaplus.shueisha.co.jp/js/app.a3091b24.js | ||
|
||
package MangaPlus; | ||
syntax = "proto3"; | ||
//syntax = "proto3"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any reason why you removed this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for the record, i kept it uncommented, it still works without any error or warning in console... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. Just remove the comment then. Its like that in other proto files afaik, Better keep things similar. |
||
|
||
message AdNetworkList { | ||
repeated AdNetwork adNetworks = 1; | ||
|
@@ -193,6 +193,28 @@ message AllTitlesView { | |
repeated Title titles = 1; | ||
} | ||
|
||
message Tag { | ||
optional string tag = 1; | ||
optional string slug = 2; | ||
} | ||
|
||
message Label { | ||
optional int32 label = 1; | ||
optional string description = 2; | ||
} | ||
|
||
message AllTitlesGroup { | ||
optional string theTitle = 1; | ||
repeated Title titles = 2; | ||
repeated Tag tags = 3; | ||
repeated Label labels = 4; | ||
optional uint32 nextChapterStartTimestamp = 5; | ||
} | ||
|
||
message AllTitlesViewV2 { | ||
repeated AllTitlesGroup allTitlesGroup = 1; | ||
} | ||
|
||
message CommentListView { | ||
repeated Comment comments = 1; | ||
optional bool ifSetUserName = 2; | ||
|
@@ -274,6 +296,22 @@ message SubscribedTitlesView { | |
} | ||
|
||
message TitleDetailView { | ||
// message PublisherItem { | ||
// TODO | ||
// } | ||
message ChapterGroup { | ||
optional string chapterNumbers = 1; | ||
repeated Chapter firstChapterList = 2; | ||
repeated Chapter midChapterList = 3; | ||
repeated Chapter lastChapterList = 4; | ||
} | ||
// message TitleLanguages { | ||
// TODO | ||
// } | ||
// message TitleLabels { | ||
// TODO | ||
// } | ||
|
||
optional Title title = 1; | ||
optional string titleImageUrl = 2; | ||
optional string overview = 3; | ||
|
@@ -292,6 +330,24 @@ message TitleDetailView { | |
optional int32 rating = 16; | ||
optional bool chaptersDescending = 17; | ||
optional uint32 numberOfViews = 18; | ||
// repeated PublisherItem publisherItems = 19; | ||
repeated Banner titleBanners = 20; | ||
// optional UserTickets userTickets = 21; | ||
repeated Chapter ticketChapterList = 22; | ||
repeated Title ticketTitleList = 23; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have the feeling than many of those are useless for our code. I think they can be omited, and protobuf will just skip them |
||
optional bool hasChaptersBetween = 24; | ||
optional Banner publisherBanner = 25; | ||
optional AdNetworkList advertisement = 26; | ||
// repeated TitleLanguages titleLanguages = 27; | ||
repeated ChapterGroup chapterListGroup = 28; | ||
// optional FreeViewDialogue freeViewDialogue = 29; | ||
optional string regionCode = 30; | ||
repeated Tag tags = 31; | ||
// optional TitleLabels titleLabels = 32; | ||
// optional Subscription subscription = 33; | ||
optional Label label = 34; | ||
optional bool isFirstTimeFree = 35; | ||
// optional MetaInfo metaInfo = 36; | ||
} | ||
|
||
message TitleRankingView { | ||
|
@@ -332,6 +388,7 @@ message SuccessResult { | |
optional ServiceAnnouncementsView serviceAnnouncementsView = 15; | ||
optional InitialView initialView = 16; | ||
optional FeedbackView feedbackView = 17; | ||
optional AllTitlesViewV2 allTitlesViewV2 = 25; | ||
} | ||
|
||
message WebHomeView { | ||
|
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.
you should update language array
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.
i hate pictures of text (but i still love your PR), episode 65536:
0: '[en]', 1: '[es]', 2: '[fr]', 3: '[id]', 4: '[pt-br]', 5: '[ru]', 6: '[th]', 7: '[de]', 8: '[unk]', 9: '[vi]'
PS: what is this
unk
lang? i don't see it on shueisha manga list....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.
I wasnt able to find the language for 8. But since we have a 9 we ought to have a 8 .