 |
 |
 |
Mayriad's EH Download Shortcuts, Replaced by Mayriad's EH Master Script |
|
Aug 4 2019, 01:34
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(xcaliber9999 @ Aug 2 2019, 13:34)  @mayriad : thanks a ton for keeping updating the script man really appreciate it. Btw if its not to much trouble can you edit the script so that it works on ex as well since its back online now
I assume Joe is fine with this, since the post has been edited. I can just push an update that adds back the support, but I would rather wait until I finish a new feature or maybe a bug fix if someone can find one. I cannot update this script too often, because at the moment an update will reset the user settings. Therefore, please wait for a few days for the next update.
|
|
|
Aug 4 2019, 01:45
|
Maximum_Joe
Group: Gold Star Club
Posts: 24,074
Joined: 17-April 11

|
I haven't edited anything here (aside from forum rule violations).
This post has been edited by Maximum_Joe: Aug 4 2019, 01:46
|
|
|
|
 |
|
Aug 9 2019, 02:59
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
Mayriad's EH Download Shortcuts v1.5.6
This update is late and tiny because the plan has changed. Instead of upgrading this script any further, I think next time I will just replace it with its parent script, Mayriad's EH Master Script. If I do not start a new thread, I will update and bump this release thread when I release it in about two weeks' time, and I hope that will not count as necroposting.
Previously, I planned to upgrade this script by somehow copying the new features and structures from the master script when there are no more bug fixes to be done. However, it seems unnecessarily difficult now because the difference between this download shortcuts script and the current master script is actually too great, since the former is an extract from an old version of the latter.
Lastly, as usual, please note that the settings in the code will be reset after an update, so you will need to edit them again if they have been previously edited. This script will not need a lot of updates in the future, so hopefully the annoyance can be minimised.
## Changelog
- Added back support for the other site, if you have not done so yourself.
- Adjusted button appearance a little.
This post has been edited by mayriad: Aug 9 2019, 03:15
|
|
|
|
 |
|
Aug 14 2019, 17:44
|
0V0Dou
Lurker
Group: Lurkers
Posts: 1
Joined: 14-August 19

|
Thank you
|
|
|
|
 |
|
Sep 20 2019, 18:45
|
Lunar Tear
Group: Gold Star Club
Posts: 219
Joined: 14-July 15

|
You don't have to be concerned with my question if you no longer maintain this script. But, if not, could you allow me a little time to explain to you what I'm suffering with this script? I've used latest chrome with Tempermonkey and added your script for downloading original archive, not a torrent file. Following your guide on github, I changed "true" into "false" on the 1st sentence in user editable section of the script to disable torrent file download.  However, after I clicked the download button, it was stopped at "loading' state and nothing happened ever after. It turned back to "download" button after I refresh website, but the same recurred whenever I clicked it. I even reset script and tried it on torrent disabled gallery. But I couldn't download any original gallery files.  Is there something wrong I did or is it just kinda bug of this script? Cf.) I have enough GP and credit to download archive but free archive quota from H@H and gold star is consumed first while downloading. This post has been edited by Jason78: Sep 20 2019, 18:56
|
|
|
|
 |
|
Sep 20 2019, 20:34
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(Jason78 @ Sep 20 2019, 18:45)  You don't have to be concerned with my question if you no longer maintain this script.
As I explained in the last update, this script is no longer maintained only because it will be replaced by my private master script soon, from which this particular download shortcuts function was extracted and made into a separate script; this function itself is still under active development and I will answer queries and requests as usual. You just need to wait for me to release the master script, which will also contain a new version of this download shortcuts feature. As a general status update, right now I am still working on a public release version of the master script and I have spent a lot more time on it than I initially planned/expected. I have been doing some overhauls, and overhauling 3000+ 120-character lines takes time. QUOTE(Jason78 @ Sep 20 2019, 18:45)  Following your guide on github
Have you noticed I stressed everywhere in the user manual that you have to enable mixed content to download archives? It is easy to enable and there is [ github.com] a section dedicated to this in the manual.
|
|
|
|
 |
|
Sep 23 2019, 17:22
|
Lunar Tear
Group: Gold Star Club
Posts: 219
Joined: 14-July 15

|
QUOTE(mayriad @ Sep 21 2019, 03:34)  As I explained in the last update, this script is no longer maintained only because it will be replaced by my private master script soon, from which this particular download shortcuts function was extracted and made into a separate script; this function itself is still under active development and I will answer queries and requests as usual. You just need to wait for me to release the master script, which will also contain a new version of this download shortcuts feature. As a general status update, right now I am still working on a public release version of the master script and I have spent a lot more time on it than I initially planned/expected. I have been doing some overhauls, and overhauling 3000+ 120-character lines takes time. Have you noticed I stressed everywhere in the user manual that you have to enable mixed content to download archives? It is easy to enable and there is [ github.com] a section dedicated to this in the manual. Oh, crap... To my shame, I only focused on Setting section and overlooked other explanations on the user manual. The archive download function is now working normally after enabling mixed content. And I thought you paused to make new script for a while, but now it seems that I was just under delusion. Thanks for answering my question. I'll await the master script and root for you!
|
|
|
|
 |
|
Sep 23 2019, 22:34
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(Jason78 @ Sep 23 2019, 17:22)  And I thought you paused to make new script for a while, but now it seems that I was just under delusion. Thanks for answering my question. I'll await the master script and root for you!
Thanks. The master script has at least 20 features depending on how you count them, and this download shortcuts feature is just one of these features, so hopefully you will find the master script very useful. Three of these features might need to be removed to nerf this script, though. Another general update:Based on feedback from a user and my own quick experiment, I think currently connections to EH archivers might be slightly unstable, and archive downloads may not actually start. I must stress that I do not have real evidence to support my guess, but I think it is possible since people have been trying to rip the galleries, and recently Tenboro has adjusted both the pricing of archives and original images; the pricing adjustments have made archives much cheaper and more viable compared to original images, so the archivers should be under increased stress now, which may be hurting their performance. If your connection is unstable, when this script successfully initiates an archive download and says "Done", the actual archive file may not be successfully downloaded; it may not even start at all. Therefore, as I already [ github.com] mentioned in the user manual, please check the actual files downloaded when you use the batch download feature. Simply counting the numbers should suffice. This download shortcuts script only automates the process and does not manage the actual download, so at the moment it will not be able to handle connection problems. It is also just difficult to handle for a userscript, although not impossible methinks. I miiiiiight consider adding an option in the master script to do something with the actual file download, but only if it is possible and easy enough.
|
|
|
|
 |
|
Oct 4 2019, 16:21
|
Lunar Tear
Group: Gold Star Club
Posts: 219
Joined: 14-July 15

|
QUOTE(mayriad @ Sep 24 2019, 05:34)  This download shortcuts script only automates the process and does not manage the actual download, so at the moment it will not be able to handle connection problems. It is also just difficult to handle for a userscript, although not impossible methinks. I miiiiiight consider adding an option in the master script to do something with the actual file download, but only if it is possible and easy enough.
That's nice. Hearing that, I've started to expect your Master script more and more. I hope I can meet your Master script soon. (IMG:[ invalid] style_emoticons/default/smile.gif) BTW, if you're still adjusting its features and considering to add some functions, how about this? (Translated : "Type of folder name" "(id) [artist][group] title [lang][series]") [ github.com] https://github.com/KurtBestor/Hitomi-Downloader-issuesThis is one of functions in a program named "Hitomi downloader GUI", which automatically downloads doujinshi works by cropping images from Hitomi website. But, the use of this program ain't a point in my suggestion. In case of downloading the works in Ex/E-hentai, a file's normally downloaded with its original gallery title. e.g. https://e-hentai.org/g/1306490/d8276f35ee/if users download a work from here, its file name will be likes below, which is exactly same as its gallery title. (CP03) [Naturefour (Mocha)] Shiroparty! (Shironeko Project) [Japanese, Chinese] But the program I mentioned allows users to customize the form of file when it's downloaded. And this is what I want to suggest to add into Master script. It seems that it reads and pulls out tag information from original gallery, then attach it downloaded folder name according to what user partially added. For instance, if users type "(id) title" on its setting window and attempt to download same work, the downloaded file would be named as below, where the 'gallery number' within bracket is added ahead of its 'title'. "(1306490) (CP03) [Naturefour (Mocha)] Shiroparty! (Shironeko Project) [Japanese, Chinese]" It can be simply modify just by typing a new form. e.g. sample work : [ hitomi.la] https://hitomi.la/galleries/18.htmlIf applied setting of folder name is "(id) [artist][group] title [lang][series]", then the file might be downloaded with this name. (18) [Shouji Haruko, Toma][Chirigami Goya, Fusuma Goten] (C44) [Chirigami Goya, Fusuma go Ten (Shoji Hariko)] XX (Dragon Ball Z) [English] [English][Dragon Ball Z] Maybe you've already grasped that, since ex&e-hentai was about to explode due to Tenboro's decision from the change in the law of Netherlands, some many people, of course including me, have begun to download and pile up manga and doujinshi in their own storage, likes building arks. Even though both of ex and e-hentai is still alive well, some are still building their own 'arks' by spending tons of GP and credits for downloading just to be on the safe side and therefore GP value is still higher than previous. What I want to say is, I think this feature I suggest can be useful. As I'm completely out of program development, I'm unsure whether or not this kind of feature can be readily added on Master script as well. However, it might be helpful to some people making their own ark when they try to arrange and classify tons of works in their own arks. Just in case that I obviously do not mean to encourage copy of program script or using image cropping which even Tenboro would think awful. It's Just that, as I thought this feature is useful, I just wanted to show you this feature and that it might be worthy of being added in Master script if you afford to do so. Since this is only just my suggestion, you don't have to be dedicated in this unless you have interest in it. This post has been edited by Jason78: Oct 5 2019, 23:25
|
|
|
|
 |
|
Oct 6 2019, 19:09
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(Jason78 @ Oct 4 2019, 16:21)  And this is what I want to suggest to add into Master script. It seems that it reads and pulls out tag information from original gallery, then attach it downloaded folder name according to what user partially added.
I do not think this is a good idea. 1. You do not know what tags there will be and trying something like this can be disastrous for some galleries. For instance, applying your naming scheme "(id) [artist][group] title [lang][series]" to this gallery will give you this filename: "(1434585) [aihara shouta, tony taka, tsurusaki takahiro, tohgarashi hideyu, koutaroyanyo, xin, ten, suzutsuki kurara, onigirikun, niro, mizuhara yuu, mataro, maruwa tarou, kekemotsu, kawachi izumi, ariko youichi, arai kei, akizora momidi, aikawa tatsuki, ohtomo takuji, ishigaki takashi, inazuma][kabushikigaisha toranoana] (C95) [Kabushikigaisha Toranoana (Various)] TORANOANA Girls Collection 2018 WINTER [japanese][original]" It is unreadable and makes it impossible to save this file or folder on all file systems except for NTFS with long pathname enabled, I think. 2. As your example demonstrated, these additional tags overlap with the title way too much and do not seem really necessary. 3. It can only apply to archive downloads and not H@H and torrents, so it is useless at best for users who use H@H and/or torrents in addition to archives. QUOTE(Jason78 @ Oct 4 2019, 16:21)  However, it might be helpful to some people making their own ark when they try to arrange and classify tons of works in their own arks.
This method may not be as helpful as you think, and trying to tag your files using filenames is at least uncommon and not easy. If you are planning to organise your gallery downloads properly, you should use something like [ github.com] LANraragi or [ github.com] local-ehentai instead to build a fully tagged and indexed library. Other topics: QUOTE(Jason78 @ Oct 4 2019, 16:21)  QUOTE(mayriad @ Sep 23 2019, 22:34)  This download shortcuts script only automates the process and does not manage the actual download, so at the moment it will not be able to handle connection problems. It is also just difficult to handle for a userscript, although not impossible methinks. I miiiiiight consider adding an option in the master script to do something with the actual file download, but only if it is possible and easy enough.
That's nice. Hearing that, I've started to expect your Master script more and more. Management of actual file downloads has been implemented using GM.download(). QUOTE(Jason78 @ Oct 4 2019, 16:21)  Maybe you've already grasped that, since ex&e-hentai was about to explode due to Tenboro's decision from the change in the law of Netherlands, some many people, of course including me, have begun to download and pile up manga and doujinshi in their own storage, likes building arks. Even though both of ex and e-hentai is still alive well, some are still building their own 'arks' by spending tons of GP and credits for downloading just to be on the safe side and therefore GP value is still higher than previous.
Yeah, sure, I have written enough about this. Bandwidth costs must have skyrocketed. You might be interested to read the longest post here on the GP exchange rate. This post has been edited by mayriad: Oct 7 2019, 13:41
|
|
|
|
 |
|
Oct 6 2019, 19:21
|
Shank
Group: Global Mods
Posts: 9,295
Joined: 19-May 12

|
QUOTE(mayriad @ Oct 6 2019, 18:09)  1. You do not know what tags there will be and trying something like this can be disastrous for some galleries. For instance, applying your naming scheme "(id) [artist][group] title [lang][series]" to this gallery will give you this filename: In addition to that, even on old galleries sometimes the tags are wrong and get downvoted, or new tags come into play and get included, so although it would still give you an idea, it'd be pointless. Also, good luck saving those super long filenames in "C:\Users\User\Documents\Dont open this\Not Porn\Not Hentai\EHDownloads\Favourites\etc" , you'll soon be hitting the cap for characters in the path Will we be getting the Master Script as a Christmas present? Looking forward to trying it out. Do you have a list of features/planned features for it? You may have posted such a thing elsewhere, but thought I'd ask while I'm here as I don't recall seeing one.
|
|
|
|
 |
|
Oct 6 2019, 22:10
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(Ubershank @ Oct 6 2019, 19:21)  Will we be getting the Master Script as a Christmas present? Looking forward to trying it out.
I am sure I can release it before Christmas. I can even release it tomorrow if I stop caring about error handling. I just would like to make more improvements and spend some time to use and test the new download shortcuts function myself, because it has been rewritten to use GM.xmlHttpRequest() and GM.download() instead of iframes. This feature has the greatest potential to cause problems, so I need to test it more. QUOTE(Ubershank @ Oct 6 2019, 19:21)  Do you have a list of features/planned features for it? You may have posted such a thing elsewhere, but thought I'd ask while I'm here as I don't recall seeing one.
Well, eventually I need to write this list anyway: <Feature list removed> This post has been edited by mayriad: Dec 10 2019, 21:29
|
|
|
|
 |
|
Oct 7 2019, 01:08
|
Shank
Group: Global Mods
Posts: 9,295
Joined: 19-May 12

|
QUOTE(mayriad @ Oct 6 2019, 21:10)  I am sure I can release it before Christmas.
Looking forward to it (IMG:[ invalid] style_emoticons/default/smile.gif) QUOTE(mayriad @ Oct 6 2019, 21:10)  1. Scientific dark theme 2. Scientific light theme 3. Website design fixes
Oh, new themes! Nice QUOTE(mayriad @ Oct 6 2019, 21:10)  7. Automatic collection of daily dawn reward
This will be super handy QUOTE(mayriad @ Oct 6 2019, 21:10)  8. Rated gallery, favourited gallery and gallery title filters
How does this work? Is it something along the lines of "don't display favourites in search results"? QUOTE(mayriad @ Oct 6 2019, 21:10)  13. Open galleries in new tab by default
My middle click button can finally have a rest? QUOTE(mayriad @ Oct 6 2019, 21:10)  14. A tiny function that asked not to be named
I'm a bit lost on what this means QUOTE(mayriad @ Oct 6 2019, 21:10)  15. Alternative gallery rating system (an old version of this feature was released in some random thread back then)
I seem to remember reading something about this, is it the one where it uses views/favourited to make a more accurate rating? QUOTE(mayriad @ Oct 6 2019, 21:10)  16. Clickable external URLs in gallery comments (you can directly click non-EH URLs now)
Another super useful feature. Just need to be careful not to click on spam by mistake. QUOTE(mayriad @ Oct 6 2019, 21:10)  Image view features
If you don't mind me asking, would it be possible to add an option to remove page numbers, resolution, size, and icons below each image in multi page viewer, so it's more seamless? Just asking on the off chance, I'm not sure if it annoys other people as much as it does me lol. I also have an issue with MPV's setting buttons appearing over the page (though I have bad vision and have my browser heavily zoomed in, so that's probably why.) QUOTE(mayriad @ Oct 6 2019, 21:10)  21. GUI control panel in gallery lists with persistent settings between updates (you do not need to touch the code to change settings)
This is probably the most important thing on the entire list Thanks for getting back to me, and once again, I look forward to when it's released (IMG:[ invalid] style_emoticons/default/smile.gif) You are a gentleman and a scholar. Edit: I don't know why those quotes aren't working. Now I do, fixed This post has been edited by Ubershank: Oct 7 2019, 01:14
|
|
|
|
 |
|
Oct 17 2019, 08:18
|
Lunar Tear
Group: Gold Star Club
Posts: 219
Joined: 14-July 15

|
QUOTE(mayriad @ Oct 7 2019, 02:09)  If you are planning to organise your gallery downloads properly, you should use something like [ github.com] LANraragi or [ github.com] local-ehentai instead to build a fully tagged and indexed library. Well...Okay. I'd better to use those management program you suggested instead. Apart from that tag issue, can you add a function that available multiple gallery download at once? I knew that your old script has batch download function that allows users to download many galleries at a time. It's so convenient that no one can't doubt it. However, it seems like that it's not doggie bag download method consuming GP as users manual warn about its danger of overusing and temporal ban. So, I think it'll be nice if users can automatically pay GP, Credits or download allocation and download many galleries at once without worrying about being banned, unless Tenboro ban those users whether or not they payed GP. By any chance, are you willing to add this function in Master script? This post has been edited by Jason78: Oct 17 2019, 08:19
|
|
|
|
 |
|
Oct 17 2019, 17:07
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
Okay, sorry for the late reply, I played Rimworld to take a break and it took too long. QUOTE(Ubershank @ Oct 7 2019, 01:08)  How does this work? Is it something along the lines of "don't display favourites in search results"?
In all gallery lists except for gallery toplists, you can hide: - The gallery chains to which you have given a certain number of stars e.g., you can permanently hide all galleries (and their future updates) you have rated at 0.5 and 1 star.
- The gallery chains that you have added to certain favorite categories e.g., you can permanently hide all galleries (and their future updates) that have been added to your custom favorite categories like "already added", "dont wanna see", etc.
- The galleries whose titles have at least one keyword from your title filter block list, or have at least one match with the regular expression you have entered for this title filter.
This feature has a dedicated button that lets you switch this feature on and off entirely without affecting the settings for the filters above. QUOTE(Ubershank @ Oct 7 2019, 01:08)  My middle click button can finally have a rest?
Yes. QUOTE(Ubershank @ Oct 7 2019, 01:08)  I seem to remember reading something about this, is it the one where it uses views/favourited to make a more accurate rating?
It is the ratio of (times favourited)/(times rated), and it will also give a qualitative rating to explain the ratio. For example, a ratio between 1 and 4 is "average" while 10+ is "masterwork". It is much more objective and immune from intentional down or up-rating; a gallery with 0.5 star can often have an "average" rating under this system. Essentially it is a proxy for (times favourited)/(times viewed), which Tenboro might want to add in the long term... QUOTE(Ubershank @ Oct 7 2019, 01:08)  If you don't mind me asking, would it be possible to add an option to remove page numbers, resolution, size, and icons below each image in multi page viewer, so it's more seamless? Just asking on the off chance, I'm not sure if it annoys other people as much as it does me lol.
Implemented as a sub-feature a week ago. QUOTE(Ubershank @ Oct 7 2019, 01:08)  I also have an issue with MPV's setting buttons appearing over the page (though I have bad vision and have my browser heavily zoomed in, so that's probably why.)
Implemented as a new feature a week ago. QUOTE(Jason78 @ Oct 17 2019, 08:18)  Apart from that tag issue, can you add a function that available multiple gallery download at once?
I knew that your old script has batch download function that allows users to download many galleries at a time.
It's so convenient that no one can't doubt it.
However, it seems like that it's not doggie bag download method consuming GP as users manual warn about its danger of overusing and temporal ban.
So, I think it'll be nice if users can automatically pay GP, Credits or download allocation and download many galleries at once without worrying about being banned, unless Tenboro ban those users whether or not they payed GP.
By any chance, are you willing to add this function in Master script?
Are you saying you think the batch download sub-feature does not use the doggie bag archiver that consumes GP, just because I said in the user manual that spamming batch downloads very quickly can get you temporarily banned? I have said everywhere that this script is not a ripper, and it only uses the official methods including the doggie bag archiver that consumes GP. Using official methods does not guarantee you will not get banned no matter what you do. When I talked about the possible ban from overuse, I stated that you can get banned for excessive page loads, which is just a general API ban that I think would apply to every page and every user to prevent people from automatically loading EH pages too quickly. For instance, if Tenboro tries to load one thousand EH pages in ten seconds without using any dev mode, I think he would get banned, too. I think you just somehow missed important parts in the manual again, and the function you requested is basically a description of how this script has always worked, so I guess no action is required.
|
|
|
|
 |
|
Oct 17 2019, 17:20
|
Shank
Group: Global Mods
Posts: 9,295
Joined: 19-May 12

|
QUOTE(mayriad @ Oct 17 2019, 16:07)  Implemented as a sub-feature a week ago.
QUOTE(mayriad @ Oct 17 2019, 16:07)  Implemented as a new feature a week ago.
I've said this before, but I'll say it again. You're a gentleman and a scholar.
|
|
|
|
 |
|
Oct 18 2019, 10:49
|
Lunar Tear
Group: Gold Star Club
Posts: 219
Joined: 14-July 15

|
QUOTE(mayriad @ Oct 18 2019, 00:07)  Are you saying you think the batch download sub-feature does not use the doggie bag archiver that consumes GP, just because I said in the user manual that spamming batch downloads very quickly can get you temporarily banned?
I have said everywhere that this script is not a ripper, and it only uses the official methods including the doggie bag archiver that consumes GP. Using official methods does not guarantee you will not get banned no matter what you do. When I talked about the possible ban from overuse, I stated that you can get banned for excessive page loads, which is just a general API ban that I think would apply to every page and every user to prevent people from automatically loading EH pages too quickly. For instance, if Tenboro tries to load one thousand EH pages in ten seconds without using any dev mode, I think he would get banned, too.
I think you just somehow missed important parts in the manual again, and the function you requested is basically a description of how this script has always worked, so I guess no action is required.
Okay... I get it. I thought I read and understand the manual all, But it seems I missed much important parts as you said. Your script doesn't rip images, and no matter whether or not GP is payed, excessive page loads would cause ban. I feel sorry if I made you quite annoyed with my pesky suggestions, but thanks to your kind explaination I no longer have to worry about those matters. Wish you good luck with your works on new script, and I'll anticipate the day you release Master script, maybe right before Christmas? Anyway, Thank you!
|
|
|
|
 |
|
Dec 6 2019, 10:38
|
nikgtasa
Newcomer
  Group: Members
Posts: 54
Joined: 9-December 12

|
Don't know if i'm missing it, but it'd be nice to download just the personalized torrent files.
|
|
|
Dec 6 2019, 12:44
|
Mayriad
Group: Global Mods
Posts: 2,061
Joined: 18-December 10

|
QUOTE(nikgtasa @ Dec 6 2019, 10:38)  Don't know if i'm missing it, but it'd be nice to download just the personalized torrent files.
The upgraded version of this function in the master script to be released downloads personalised torrent files, so you can just wait for the master script. If you meant you just do not want to download archives, you can set ENABLE_ARCHIVE_DOWNLOAD to false as the user manual instructed. I am 100% ready to release the master script, but I am still waiting for a reply from blue penguin regarding nerfing this script (notice me senpai!).
|
|
|
Dec 6 2019, 18:04
|
nikgtasa
Newcomer
  Group: Members
Posts: 54
Joined: 9-December 12

|
Yeah i read the manual, i just wasn't sure whether torrents were personalized or not but since they weren't named i such i guessed not.
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|