-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add support for App-Exclusive Mangas/Chapters #36
Comments
Do you have an example? |
The entire Chainsaw man manga is available via App. |
From what I see, they are now using a different api endpoint for manga details ( |
It would be interesting if the other endpoint also lists the delisted chapters that are even hidden from the website and the app (like most of the re-editions e.g., Naruto). Some of these in between chapters seem to remain on the server and are downloadable atm. I might consider doing an 'API dump' if these are not visible. |
I've made an update to use the mobile app's API. Seems to be working fine for me (and faster). If anyone wants to try it out, please install from the
I'd like to hear some feedback before releasing a new version. |
with naruto [title: 100018 ] you don't get the recent chapters in the app but then currently for me it only downloads up to including the 7th chapter while there are 9 in the app available and at least up to chapter 10 [chapter: 1000406 ] is on the server. Edit: also yeah it's a lot faster for some reason Edit Edit: the formating on spy x family [100056] for chapter 58 part 1 [1011977] and chapter 58 part 2 [1012693] does seem to not work as intended. i tried something to fix this with #38 but feel free to disregard it entirely i'm not really someone who does stuff with python |
@meshstyles Thanks a lot for the feedback, will take a look at it in the next couple days, don't have much time now |
there seems to be a problem with this version. with those arguments in develop branch
I'm getting
in master branch:
I'm getting
|
In my case I could download all 101 chainsaw man chapters at once with no struggle. |
i kinda explined this poorly in my comment but it seems like the mobile app api does not have the latest chapters for some manga. but the website api does have them. This explains how there are diffrent last chapters using the dev and master branch. for example chainsaw man on the other hand has all chapters in the app but only the earliest and latest chapers on the website. |
so there is a problem with develop branch
After updating AUTH_PARAMS obtained from my android phone, everything works, so unfortunately the "secret" value has a certain expiration time |
I'm actually shocked but all you need to do is change the app version. seems like the secret is valid for some time but yeah it looks like some continous updates buming the version number are required for mobile. |
How can I download that Free chapters from the App? I need to change the secret value? |
It would be nice if @janowakps or @hurlenko write how to get the secret key in the app and set it in mloader. |
you need the development branch the feature is yet to be made public
idk if that would m+ would like that tbh |
So for everybody coming to this thread and thinking about how to get the secret key:
@hurlenko your develop branch is working like a charm. The download order is sometimes a bit weird but works completely fine |
Same problem as @IsaBNekomata and @meshstyles, changing the secret code didn't change anything. |
@IsaBNekomata and @meshstyles you just need to update version number (check the app store to get it) in loader.py. You need the version from development branch to even have the option though. @hurlenko As you probably know Shueisha locked some series behind a paywall of subscription. These series only have 3 first chapters available and after downloading them, the script throws an error. Assassination Clasroom (100001) is an example. Would be great if the error could throw some human readable message. I'm also curious - if I were to pay for subscription, would it be recognized by the script and let me download the completed series? Does secret key carry that information? |
@hurlenko Take your time, if it ever works out we'll be able to get complete archives anyways. |
I think i did a rather poor job at explining what i ment with the app version number. to make it easier for anyone not in the know mloader with app api support was probaly bulilt looking at the ios app. so when the ios app has an update you need to change the app version in loader.py AUTH_PARAMS to a current version of ios app.
I think they've introduced that at the start of the month so it's still kinda new. But the highest tier allows you access to basically everything they had.
|
One issue I discovered why attempting to use the devel branch was that it did not detect the .5 chapters. Example would be for Hokkaido Gals Are Super Adorable! (100116) which it found chapters 100 and 101, but not 100.5 |
I can from Desktop Browser that they are using |
Another note: Even if the manga page from website shows more than 6 chapters free to read on desktop without subscription, |
Hmm, I updated the |
@10SecondsToWaste, change the P.S: Just use actual |
@rokibhasansagar Thanks a bunch! It's finally downloading. Now, are there anything I can do to help this feature become a part of the |
Attempting the same. Have my own secret key (paid for deluxe). Modifying code from here to have
Tried above, failed. (Only free chapters found) Tried modifying most recent master, failed. (Only free chapters found) Attempted permutations of these AUTH_PARAMS:
I have not installed mloader via pip, and am running it as follows:
Does the method from the other posts still work? |
@hauveli, change the |
Hi, so after reading through this thread several times, I'm still confused as to where to find this "key"? Like in the apk what is it called? What file/folder is it located in?? Additionally, can this same thing be found via iOS? Because I know the default setting for mloader is based on the iOS version of the app, so how can I scrape my "key" from there without having to change the entire api to only take in the android version? Thanks. |
@rokibhasansagar How do you know the correct value for |
@10SecondsToWaste @ThoughtzThruKeyz
|
It used to be the app version for iPhones from the Apple app store. The app versions for iOS apps are below the description on the app store website in the change log. Fyi for So for the versions number you don't even need the app just a web browser. |
@meshstyles I also explained it in #36 (comment) and #36 (comment) several months ago. |
@rokibhasansagar thanks a lot for the help to get the version and the secret key. |
@gauchoux I have to find other Network Capturing apps which can work on unrooted latest Android system 💭 |
Hi! I've been trying to get the secret key too and I would ask for some help here. PD: Thanks a lot for the project. |
2nd day, 2nd round. This way worked! I've been able to download an issue only aviable in app.
I used the "Title" option and mloader downloaded "aviable chapters" but these are not the aviable chapters that you can see through the web. Using web browser the chapters that I can download are: 001, 002, 003, 290, 291, 292, 293, 294, 295 and 296. Note that oficially at website I have a total of 10 chapters aviable, mloader downloads 10 chapters, but starting with chapter 7 (after the 1st 3 episodes). I'm sure this is not a coincidence. EDIT: I think that I'll try to subscribe one month, let's see what can this marvelous app do! |
Woah! I've been trying to figure this out for months! Do you mind assisting me in finding the secret key? @Lowitle |
I used Reqable on an old android phone where I could install Magisk. With Magisk installed I had root privileges and could install the "Reqable Certificate Installer". With that Certificate installed the info I got from the Reqable monitoring was complete, when I navigate through diferent mangas I could see diferent traffic monitored in the app, Some of this traffic in the URL has all the info we need: "app_ver" and "secret". I hope I helped. I trully would've liked to use some standard method like an android emulator, maybe tomorrow I'll try something with Android Studio. Let me know your progress about this, I'll try to help. |
Hey thanks for that! Unfortuantely, I can't even get past the simplest step of installing magisk lol. I suspect it's some type of restriction on my device
|
Hello @ThoughtzThruKeyz, If you don't have a rootable phone, you can do what I've just done.
|
Is this strictly for Linux PC's? |
You can install Android Studio (https://developer.android.com/studio) which can be installed on Windows, Mac and Linux and is able to simulate any android app. You also have root access to the filesystem. You can just extract the infos for app_version and app_secret out of the xml file ( /data/data/{M+ APP directory}/shared_prefs/config.xml). |
Okay, so I just downloaded and installed this on my mac. Do I just need to download the Mangaplus .apk? |
I just forked the repo and updated the develop branch so it downloads all chapters. Check the pull requests. |
So after downloading android studio I just fork the repo? |
No, you dont need android studio anymore. I've updated the develop branch myself in a fork i have made. The only thing you need to do right now is to install mloader from my branch. Please check the changes made in the PR before you install (never just install something because someone said so, without checking if there might be scetchy code). Uninstall your current mloader then proceed with this (installing mloader again but from the fork and branch i have made):
Then just run mloader with a link to a chapter like this:
This should work like in this screenshot: |
This downloads all available chapters for said series? Even the locked ones? |
Well, if you read through all comments in this thread you'd know, that the develop branch is used to download via the mobile API which is used by the app. The app has currently a feature that allows any user to read current ongoing titles for free once. The develop branch makes use of this to download these. There are some titles that are completed or have a different reason why they are behind a paywall (manga plus max subscription) like Jujutsu Kaisen, where you still dont have access with the read-for-free mobile app feature. In the screenshot above chainsaw man was used and downloaded completely till the last chapter. |
Does this still work? I'm trying to download all the Girl Meets Rock chapters now that it's back. |
I'm not sure about that method, but what I did, using WSA with Magisk + Google Play, a MANGA Plus MAX Standard plan, and the descriptions shown above: Extract secret in Install Lucky Patcher to find app version (it's the 3 digit build, not the standard version number). Make sure to install the Lucky Patcher from official sources, /r/luckypatcher has info. My version as of yesterday is Clone the Edit the This is where I'm not sure which part of what I did exactly worked, as I am not well versed in Python, but I installed the Python script within the folder, and ran |
Like the title suggest there are free chapters and mangas which are App exclusive. Maybe you cant implement them.
The text was updated successfully, but these errors were encountered: