Welcome Guest ( Log In | Register )

8 Pages V « < 3 4 5 6 7 > »   
Reply to this topicStart new topic
> Mayriad's EH Download Shortcuts, Replaced by Mayriad's EH Master Script

 
post Jul 27 2019, 20:59
Post #81
MapleSyrup



Lurker
Group: Lurkers
Posts: 3
Joined: 28-October 09
Level 28 (Apprentice)


QUOTE
Does it show failed? I cannot easily test this, but it is probably because I have made some unusual edits to the code and put it in ignore-failure mode so that it is quicker to retry these galleries. As I stated in the first post, this is intentional at the moment.


I'm assuming this is what you mean?

QUOTE


Also the line 84 fix didn't work for me. It's still spitting out the same error as before.

EDIT: I'm not sure if it's Tampermonkey screwing with it somehow but I just tried it using Custom JavaScript and it worked for a second. Now I need to figure out how to get passed this "Mixed Content" alert.

EDIT 2: Running Tampermonkey and Custom JavaScript at the same time seems to have bypassed the "Mixed Content" alert, though I still have to download one gallery at a time. I'm not sure how they're interacting with each other but at least the script is functioning. Weird.

QUOTE
Mixed Content: The page at 'https://e-hentai.org/favorites.php' was loaded over HTTPS, but requested an insecure resource 'http://95.211.212.245/archive/724284/6f4779fdd2fd458d781a718e8f43ca255fb47a46/cm6zk769b9m/0'. This content should also be served over HTTPS.


This post has been edited by MapleSyrup: Jul 27 2019, 21:14
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 21:31
Post #82
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(MapleSyrup @ Jul 27 2019, 20:59) *
I'm assuming this is what you mean?
QUOTE

If you get a 404 error, there is a problem between your computer and the site. However, as I stated, the script is in ignore-failure mode, so it will keep trying. I am preparing a proper, normal mode release, so please just wait for it.

QUOTE(MapleSyrup @ Jul 27 2019, 20:59) *
EDIT: I'm not sure if it's Tampermonkey screwing with it somehow but I just tried it using Custom JavaScript and it worked for a second. Now I need to figure out how to get passed this "Mixed Content" alert.

EDIT 2: Running Tampermonkey and Custom JavaScript at the same time seems to have bypassed the "Mixed Content" alert, though I still have to download one gallery at a time. I'm not sure how they're interacting with each other but at least the script is functioning. Weird.

You do not need to do all that to enable mixed content, just read what I wrote. It will only take you like 2 clicks to enable it on Chrome.
QUOTE(rraven314 @ Jul 26 2019, 02:19) *
Some troubleshooting information for persistent loading state:
QUOTE
Assuming you have not made unnecessary edits to the code, I can list a few possible reasons but the list is not exhaustive:

1. You have not enabled mixed content. If you can download archives via standard means but not this script, then I think this is the most likely cause. If you are having problems here, this post for Chrome and this thread for Firefox might help. Firefox seems to be a lot more problematic and I might install and test it myself.

CODE
*  Some important notes:
*  1.  You need to enable mixed content in your browser settings for archives to work. For example, if you are using
*      Google Chrome, a shield icon will appear in your omnibox when the script is trying to download archives. You
*      will need to click it and select "load unsafe scripts".
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 21:36
Post #83
xcaliber9999



?????
********
Group: Catgirl Camarilla
Posts: 2,817
Joined: 22-December 09
Level 500 (Godslayer)


QUOTE(xcaliber9999 @ Jul 27 2019, 01:07) *
Alright got it working on chrome thankfully. But it keeps missing 4-5 galleries on each page (why ?) have to download them manually.
Is there any fix for that (rest is working excellent)
really grateful to you kind Sir god bless smile.gif
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@rraven314 : I need more descriptions. Do the individual download buttons say "done", but the corresponding galleries did not actually get downloaded? Are these missing downloads torrents or archives?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Well the download button says loading and that's it. The missing downloads are archives.

Also sometimes the download button says done but when I visit the downloaded folder the files are not there any idea why ? thanks

This post has been edited by xcaliber9999: Jul 27 2019, 21:38
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 22:14
Post #84
MapleSyrup



Lurker
Group: Lurkers
Posts: 3
Joined: 28-October 09
Level 28 (Apprentice)


QUOTE(rraven314 @ Jul 27 2019, 15:31) *

You do not need to do all that to enable mixed content, just read what I wrote. It will only take you like 2 clicks to enable it on Chrome.

CODE
*  Some important notes:
*  1.  You need to enable mixed content in your browser settings for archives to work. For example, if you are using
*      Google Chrome, a shield icon will appear in your omnibox when the script is trying to download archives. You
*      will need to click it and select "load unsafe scripts".



That's the method I tried for 8 hours last night. Didn't work once for me unfortunately. Or maybe I'm just retarded but right now I'm tired of fussing with it now that it finally works. Mad props to you coder writers, I don't know how you guys do it without pulling your hair out.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 22:40
Post #85
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(xcaliber9999 @ Jul 27 2019, 21:36) *
Well the download button says loading and that's it. The missing downloads are archives.

Yeah, I know. It is still the mixed content problem. I am preparing a proper, normal mode release that will give you error messages, which should make things clearer for you.

QUOTE(xcaliber9999 @ Jul 27 2019, 21:36) *
Also sometimes the download button says done but when I visit the downloaded folder the files are not there any idea why ? thanks

Umm the only possible reason I know is the bad internet connection problem I mentioned in the descriptions, which can randomly stop an actual file download.

QUOTE(MapleSyrup @ Jul 27 2019, 22:14) *
Mad props to you coder writers, I don't know how you guys do it without pulling your hair out.

Wait, you are right. I had a look again and the Chrome console message you provided earlier does not include the sentence that says the request was blocked, so it actually went through. There seems to be some other problem that is stopping it from working and I do not know why. Please try the proper version after I release it in a few hours. It might work better.

QUOTE(MapleSyrup @ Jul 27 2019, 22:14) *
Mad props to you coder writers, I don't know how you guys do it without pulling your hair out.

Well, that is why I stressed it was my private userscript. Before I released it, I was the only user who knew and could control everything, so it was easy back then. Now this script has thousands of users since this thread has garnered 13,861 views, and things are getting difficult, mainly because I am not a real coder and also cannot debug remotely.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 22:56
Post #86
Shinryu-Rex



Newcomer
**
Group: Members
Posts: 50
Joined: 23-September 13
Level 237 (Godslayer)


Since servers were overloaded, I got this error over and over again for MANY galleries. Now those galleries are unavailable to me and I've dumped likely around 150kGP into 142+ galleries. I know the site keeps track of archives you've paid for but have not downloaded, as when you reload the archive download page, it says the archive is free until you actually download it. (You can also cancel for no refund (IMG:[invalid] style_emoticons/default/sad.gif) )

With this is mind, and since many of us can no longer access 99% of the galleries where this is the case, what are the chances that we can get refunds for the archives we've paid for but have not downloaded?










Help Desk is the right place for this topic, right?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 23:05
Post #87
Maximum_Joe



Legendary Poster
***********
Group: Gold Star Club
Posts: 24,074
Joined: 17-April 11
Level 500 (Dovahkiin)


I can send you some credits but that's about it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 23:06
Post #88
DGze



Headphone Fetishist | Luna's Bride
*******
Group: Catgirl Camarilla
Posts: 1,043
Joined: 12-February 12
Level 358 (Godslayer)


I can offer you 150,000 of credits our of charity.
I'll be insane if we have to process refunds.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 23:08
Post #89
Shinryu-Rex



Newcomer
**
Group: Members
Posts: 50
Joined: 23-September 13
Level 237 (Godslayer)


I see. Was just curious if it might have been possible for a quick fix so this could be done for everyone quickly rather than on a case by case basis like you sending me credits. If there's no widely applicable solution though, there's no solution.

EDIT: Danke very much for the credits Joe.

This post has been edited by Shinryu-Rex: Jul 27 2019, 23:13
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 07:21
Post #90
TheMaxx01



Lurker
Group: Recruits
Posts: 5
Joined: 3-February 16
Level 52 (Expert)


Question. Is there a way to download stuff or at the very least the torrent from bookmarks?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 07:47
Post #91
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(TheMaxx01 @ Jul 28 2019, 07:21) *
Question. Is there a way to download stuff or at the very least the torrent from bookmarks?

You mean your favourites? This script works on the favourites page just like on the search page. You should wait a bit though, because I am about to make the proper release now.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 08:00
Post #92
TheMaxx01



Lurker
Group: Recruits
Posts: 5
Joined: 3-February 16
Level 52 (Expert)


QUOTE(rraven314 @ Jul 28 2019, 13:47) *

You mean your favourites? This script works on the favourites page just like on the search page. You should wait a bit though, because I am about to make the proper release now.

Well browser bookmarks....
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 08:07
Post #93
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(TheMaxx01 @ Jul 28 2019, 08:00) *
Well browser bookmarks....

I think that should require a browser extension, so no userscript can do.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 08:27
Post #94
TheMaxx01



Lurker
Group: Recruits
Posts: 5
Joined: 3-February 16
Level 52 (Expert)


QUOTE(mayriad @ Jul 28 2019, 14:07) *

I think that should require a browser extension, so no userscript can do.

so the script cant deal with direct links to the gallery
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 09:26
Post #95
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


Bump because I have released a proper version. Please read the first post and update ASAP. I am quite tired now after coding and then writing 3503 words, so I will be offline for a while.

This post has been edited by mayriad: Jul 28 2019, 10:10
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 13:42
Post #96
sketch00



Newcomer
*
Group: Members
Posts: 33
Joined: 31-October 13
Level 189 (Lord)


Hi, thank you for your awesome script.

Can you add some feature that can download metadatas of galleries?
Like that of user-script 'eze' or program 'HDoujin Downloader'.
They can download gallery metadata in form of 'info.json'

I wish I could organize galleries with metadata (tags, name, etc...) using Gallery Organizing Programs like 'HappyPanda X'

Thanks for your great job, again.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 15:58
Post #97
name83u5



Regular Poster
*****
Group: Gold Star Club
Posts: 625
Joined: 1-June 14
Level 500 (Ponyslayer)


Dear Mayriad,

I have insert some function in your script.

Attached File  Mayriad__39_s_EH_Download_Shortcuts_doneToDB.js.txt ( 32.76k ) Number of downloads: 28


To avoid overlapping download, I've introduced Web SQL to the script and now the script remember which gallery is done or not.

The button is normally shown like
Attached Image

But when mouse on the button (or gallery) the button is changed
Attached Image

I hope the author don't feel bad.

Thanks (IMG:[invalid] style_emoticons/default/smile.gif)

This post has been edited by name83u5: Jul 28 2019, 16:05
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 16:36
Post #98
Nayas



( 。∀ ゚)
*****
Group: Members
Posts: 700
Joined: 6-February 11
Level 435 (Godslayer)


Good job, Mayriad, do you accept imaginary headpats as payment for working overtime?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 16:49
Post #99
Mayriad



SUPER ★ BUSY ★ TIME
*******
Group: Global Mods
Posts: 2,061
Joined: 18-December 10
Level 135 (Lord)


QUOTE(sketch00 @ Jul 28 2019, 13:42) *
Hi, thank you for your awesome script.

Can you add some feature that can download metadatas of galleries?
Like that of user-script 'eze' or program 'HDoujin Downloader'.
They can download gallery metadata in form of 'info.json'

I wish I could organize galleries with metadata (tags, name, etc...) using Gallery Organizing Programs like 'HappyPanda X'

Thanks for your great job, again.

Edit: Why don't you just use these then? I do not think I will add that, because there are already a number of scripts and applications to do that and keep things very organised, like the ones you mentioned. I cannot write anything superior to these, so I am not gonna do it. It is a much better idea to use these established solutions and at least some of them can add metadata post-download.

QUOTE(name83u5 @ Jul 28 2019, 15:58) *
Dear Mayriad,

I have insert some function in your script.

Attached File  Mayriad__39_s_EH_Download_Shortcuts_doneToDB.js.txt ( 32.76k ) Number of downloads: 28


To avoid overlapping download, I've introduced Web SQL to the script and now the script remember which gallery is done or not.

The button is normally shown like
Attached Image

But when mouse on the button (or gallery) the button is changed
Attached Image

I hope the author don't feel bad.

Thanks (IMG:[invalid] style_emoticons/default/smile.gif)

As I expected, you are just saving the gallery URLs. This might be pointless and unusable because it has a number of critical problems:

1. I am very unsure now after a bit of testing, but I think gallery tokens might change independently? If this is true, your download records can potentially all become invalid and this would render your code useless and misleading. I am not sure, though. <- Edit: Ah I nevermind. This is silly. Of course tokens cannot change independently.

2. You will definitely still have duplicate downloads due to gallery updates, since their GIDs, tokens and URLs will change for sure.

3. If I remember correctly, Web SQL support is being dropped or has been dropped, so your code may be unusable for a lot of users and perhaps more so in the future.

I have ideas, but they either involve misuse of gallery features or have limitations, so I could not add anything. Also, I just realised I missed some details in the readme. When I said it is not possible to keep permanent download records, I was talking about recording them using star ratings, which was suggested and answered in the quote below. I have removed that paragraph from the readme, since it is not very relevant anyway.
QUOTE(rraven314 @ Jul 27 2019, 14:41) *
QUOTE(Somebro @ Jul 27 2019, 07:31) *
One other minor suggestion if you feel like it: an option (could just be commented out) to rate any downloaded galleries and skip any rated ones as a sort of ghetto "permanent download indicator". Won't work for everyone, but I've been using "just give it 4 stars" as a way to note to myself what I've already saved. Not like ratings matter much anymore (well, not that they have ever mattered that much).

I cannot add this, because:

1. This is not safe. Because ratings probably apply to gallery chains, updated galleries will keep this permanent download indicator and the script would then skip them. Therefore you will miss all updated galleries. Adding them to favorites will not work either.

2. This is misuse. It is not how the ratings are supposed to be used so, having manned this help desk subforum for two or three years, I would avoid this and try not to make the ratings more inaccurate.


QUOTE(Nayas @ Jul 28 2019, 16:36) *
Good job, Mayriad, do you accept imaginary headpats as payment for working overtime?

I like headpats.

This post has been edited by mayriad: Jul 30 2019, 22:59
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 28 2019, 22:06
Post #100
xcaliber9999



?????
********
Group: Catgirl Camarilla
Posts: 2,817
Joined: 22-December 09
Level 500 (Godslayer)


Hi mayriad

Thank you very much for your awesome work really appreciate it man u r the best. Btw everything is working fine.

Just wondering the new release download torrent file in place of archives from gallaries sometime are there any solution to this ? I want to download only archives can you kindly fix that please sir

thanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


8 Pages V « < 3 4 5 6 7 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 12th June 2025 - 12:45