Welcome Guest ( Log In | Register )

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

 
post Jul 26 2019, 16:37
Post #41
Mayriad



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


QUOTE(101kl @ Jul 26 2019, 16:35) *
I'm just getting 404's in the console, and when i visit the link manually "This gallery is currently unavailable."

That is the site's problem.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 16:37
Post #42
xcaliber9999



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


Thank you very much for quick reply Sir can you help me a bit more I really can't find where the files are saving. I am using firefox with Greasemonkey (IMG:[invalid] style_emoticons/default/sad.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 16:46
Post #43
Mayriad



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


QUOTE(xcaliber9999 @ Jul 26 2019, 16:37) *
Thank you very much for quick reply Sir can you help me a bit more I really can't find where the files are saving. I am using firefox with Greasemonkey (IMG:[invalid] style_emoticons/default/sad.gif)

From Google:
[support.mozilla.org] https://support.mozilla.org/en-US/kb/where-...d-files-firefox
[www.wikihow.com] https://www.wikihow.com/Change-Where-Downlo...aved-in-Firefox
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 16:56
Post #44
xcaliber9999



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


Well it seems it doesn't download anything (IMG:[invalid] style_emoticons/default/sad.gif)

I click on the tag of a gallery and it says loading and than nothing. I have already tried this on other galleries but all it shows is loading any help ?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 17:04
Post #45
Mayriad



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


QUOTE(xcaliber9999 @ Jul 26 2019, 16:56) *

Well it seems it doesn't download anything (IMG:[invalid] style_emoticons/default/sad.gif)

I click on the tag of a gallery and it says loading and than nothing. I have already tried this on other galleries but all it shows is loading any help ?

Yeah, I had a feeling that the problem was not your download location. Firefox might have more problems with mixed content. Read these:
QUOTE(rraven314 @ Jul 26 2019, 02:19) *
Some troubleshooting information for persistent loading state:
QUOTE(rraven314 @ Jul 26 2019, 11:06) *
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. You should check this post too: https://forums.e-hentai.org/index.php?s=&am...t&p=5398446

2. You are having a hard time trying to connect to the archivers, because a lot of people are still downloading. If you cannot download the archive via standard means, then this is the reason.

3. Something might be blocking this userscript, maybe for security reasons.

4. I cannot test this, but insufficient funds should either lead to constant download failures or persistent loading.

Lastly, as I said in the descriptions I am not a programmer and have never studied this stuff. I would try to help but I can only offer limited support.

QUOTE(rraven314 @ Jul 26 2019, 10:14) *
QUOTE(Lezard Valeth @ Jul 26 2019, 09:50) *
Nothing happens after i press "download" button. Only infinite "loading".
Firexof, and i have some millions GP.

Yeah, because everyone is having a hard time trying to connect to the archivers. You will see a lot of failures as well for the same reason. Otherwise you just have not enabled mixed content, and if this is the case, this thread might help: https://forums.e-hentai.org/index.php?showtopic=229338. If the problem persists and you prefer to download a lot of torrents instead, just disable archive download by setting ENABLE_ARCHIVE_DOWNLOAD to false.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 17:30
Post #46
xcaliber9999



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


Well I have edit to false but it still shows loading


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

 
post Jul 26 2019, 17:41
Post #47
Mayriad



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


QUOTE(xcaliber9999 @ Jul 26 2019, 17:30) *
Well I have edit to false but it still shows loading

Have you tried everything mentioned in https://forums.e-hentai.org/index.php?showtopic=229338? It does not look like you have, especially not the solution mentioned in the last post. If you have then I cannot help further at the moment. I might be able to install firefox and test it tomorrow. What version of Firefox are you using? If you can download archives normally then the problem is indeed mixed content.

This post has been edited by rraven314: Jul 26 2019, 17:54
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 17:58
Post #48
xcaliber9999



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


QUOTE(rraven314 @ Jul 26 2019, 21:11) *

Have you tried everything mentioned in https://forums.e-hentai.org/index.php?showtopic=229338? It does not look like you have, especially not the solution mentioned in the last post. If you have then I cannot help further at the moment. I might be able to install firefox and test it tomorrow. What version of Firefox are you using? If you can download archives normally then the problem is indeed mixed content.


Yeap I tried everything I edited all to false yet nothing. Please kindly test it in firefox and let me know. It a life and death situation here man (IMG:[invalid] style_emoticons/default/anime_cry.gif)

I am using the latest firefox - 68.0.1 (64bit) and yes I can download through archives (low download speed but its downloading the gallery)

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

 
post Jul 26 2019, 20:56
Post #49
titswifter



Casual Poster
***
Group: Gold Star Club
Posts: 137
Joined: 22-May 10
Level 93 (Lord)


QUOTE(rraven314 @ Jul 26 2019, 15:28) *

This is very difficult for me to diagnose remotely, and I can only guess what you need to check:

1. Is your browser version recent enough?

2. Are there error messages from this script in your console?

3. Are your extensions blocking the script? Are your other scripts running fine? Can you test this script again in incognito mode with all other extensions disabled?

If you can insert console.log('some message you fill in') into the code to test where it breaks, that would be the best.


I'm an idiot. xD Tampermonkey says "x Enabled" when I click the symbol. That means it's not enabled. I needed to click that option. Now it says "v Enabled" and shows "1" for one enabled script.

But now I have the "endless loading" problem. I click "Download 3 Galleries" and it says on the first three "Loading" but nothing happens. I just updated Chrome to latest stable version 75.0.3770.142 (Official Build) (64-bit) (Linux)
It's the mixed content problem. Console says:
"Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure resource '<URL>'. This request has been blocked; the content must be served over HTTPS."

Kinda funny since I never had any "image loading" problems. Although I mostly use torrents or - if not available - the archiver (and then make a torrent if the story is good xD). Never had problems with these (besides one or two "private torrents).
Gonna try Firefox later. Thanks so far. (IMG:[invalid] style_emoticons/default/smile.gif)

EDIT: Ah, I only had to allow insecure content by click the shield icon right of the address. I only tried the lock icon on the left. xD

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

 
post Jul 26 2019, 21:06
Post #50
Mayriad



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


QUOTE(titswifter @ Jul 26 2019, 20:56) *
I'm an idiot. xD Tampermonkey says "x Enabled" when I click the symbol. That means it's not enabled. I needed to click that option. Now it says "v Enabled" and shows "1" for one enabled script.

But now I have the "endless loading" problem. I click "Download 3 Galleries" and it says on the first three "Loading" but nothing happens. I just updated Chrome to latest stable version 75.0.3770.142 (Official Build) (64-bit) (Linux)
It's the mixed content problem. Console says:
"Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure resource '<URL>'. This request has been blocked; the content must be served over HTTPS."

Gonna try Firefox later. Thanks so far. (IMG:[invalid] style_emoticons/default/smile.gif)

I am glad you figured it out. Check my post here to see what the shield icon looks like: https://forums.e-hentai.org/index.php?showt...p;#entry5398446. This is what I am talking about in the descriptions:
CODE
*  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".

It is easy to enable mixed content on Chrome, unless you are selected for Google's experiments, so do not try Firefox yet. I think it might be a lot worse.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 26 2019, 23:40
Post #51
GIGA-XIS



Lurker
Group: Lurkers
Posts: 3
Joined: 6-May 10


Ok so, using Tampermonkey and X-Port to export the galleries makes it so they're downloaded as a .txt file.

What do I do next to get the actual archive files on my laptop so I can back up the comics and doujins to read whenever on a cloud service?

Also is it supposed to be a .txt file, a CRdownload file or something else?

This post has been edited by GIGA-XIS: Jul 26 2019, 23:44
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 00:02
Post #52
titswifter



Casual Poster
***
Group: Gold Star Club
Posts: 137
Joined: 22-May 10
Level 93 (Lord)


rraven314: Yes, I figured it out. See my edit. xD Thanks again!

QUOTE(GIGA-XIS @ Jul 26 2019, 23:40) *

Ok so, using Tampermonkey and X-Port to export the galleries makes it so they're downloaded as a .txt file.

What do I do next to get the actual archive files on my laptop so I can back up the comics and doujins to read whenever on a cloud service?

Also is it supposed to be a .txt file, a CRdownload file or something else?


You also need "hitomi". I guess this one?
[github.com] https://github.com/KurtBestor/Hitomi-Downloader-issues

JDownloader used to download almost everything. Not sure about its status now.

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

 
post Jul 27 2019, 01:07
Post #53
xcaliber9999



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


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)

@rraven314 really grateful to you kind Sir god bless (IMG:[invalid] style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 01:07
Post #54
GIGA-XIS



Lurker
Group: Lurkers
Posts: 3
Joined: 6-May 10


QUOTE(titswifter @ Jul 26 2019, 18:02) *

rraven314: Yes, I figured it out. See my edit. xD Thanks again!
You also need "hitomi". I guess this one?
[github.com] https://github.com/KurtBestor/Hitomi-Downloader-issues

JDownloader used to download almost everything. Not sure about its status now.


That might help. I'll check it out later as my laptop is charging. So how does this one work exactly?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 01:48
Post #55
fireattack



Newcomer
*
Group: Members
Posts: 28
Joined: 22-September 10
Level 73 (Champion)


Download archive works fine here, but download torrent doesn't.

It always throws the following error:

CODE
Uncaught TypeError: Cannot read property '1' of null
    at catchTorrentList (userscript.html?id=4a71e3c3-314c-4ab7-8795-54d22e597816:414)
    at Window.addDownloadShortcuts (userscript.html?id=4a71e3c3-314c-4ab7-8795-54d22e597816:469)
    at <anonymous>:2:494
    at c.<computed> (eval at exec_fn (group:gekirou+director:1), <anonymous>:55:182)
    at <anonymous>:2:494
    at b (<anonymous>:1:414)
    at <anonymous>:2:494
    at ka (eval at exec_fn (group:gekirou+director:1), <anonymous>:55:208)
    at l (eval at exec_fn (group:gekirou+director:1), <anonymous>:53:60)


The error is at let timestamp = +window.location.href.match(/timestamp=(\d+)/)[1];

The gallery I have problem is https://e-hentai.org/g/1357799/4e142fbc76/

I think for some reason, the href is

CODE
https://e-hentai.org/gallerytorrents.php?gid=1357799&t=4e142fbc76&downloadshortcuts=388394901%EF%BF%BDtamp=1550568060000


As you can see, the URL is kind of garbled and it affects "timestamp" query keyword.

Edit:

I think it's caused by earlier on in your code,

'×tamp='

Is it supposed to be "×" (U+00D7, a non-ascii character)?

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

 
post Jul 27 2019, 02:06
Post #56
fireattack



Newcomer
*
Group: Members
Posts: 28
Joined: 22-September 10
Level 73 (Champion)


Ok, it looks like "& times" (no space) got converted to × here.

Maybe a good time to consider host the code to somewhere more dedicated like gist.github or pastebin :D
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 02:51
Post #57
HarAnime



Lurker
Group: Lurkers
Posts: 1
Joined: 2-July 14


I cannot access to most of the galleries I have in my favs even though I can see the thumbnail, they all say "has been removed or is unavailable". Does this mean they're gone for good?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 04:50
Post #58
Elemhunter



Newcomer
**
Group: Members
Posts: 97
Joined: 30-March 11
Level 28 (Apprentice)


The latest script seems to get stuck on Loading if a gallery has a torrent. I checked the gallery and it didn't spend GP, so it seems like fetching the torrent itself is causing it to get stuck. fireattack's correction fixed it. Otherwise, thanks for this, very useful.

I agree on a Github to more easily follow updates. Also, you should implement a wait between downloads so it doesn't trigger Ex's temporary IP ban for excessive pageloads.

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

 
post Jul 27 2019, 07:31
Post #59
Somebro



Regular Poster
*****
Group: Gold Star Club
Posts: 502
Joined: 24-February 10
Level 500 (Ponyslayer)


Thanks so much for sharing this, it does help a lot vs hundreds of clicks! I did see the stuck-loading behavior as well until the fix.

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).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 27 2019, 08:34
Post #60
titswifter



Casual Poster
***
Group: Gold Star Club
Posts: 137
Joined: 22-May 10
Level 93 (Lord)


QUOTE(fireattack @ Jul 27 2019, 02:06) *

Ok, it looks like "& times" (no space) got converted to × here.

Maybe a good time to consider host the code to somewhere more dedicated like gist.github or pastebin (IMG:[invalid] style_emoticons/default/biggrin.gif)


So line 84 is this?
CODE
            '& times=' + timestamp : '');
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


8 Pages V < 1 2 3 4 5 > » 
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: 11th June 2025 - 01:05