yjk602 / nekopaw

Automatically exported from code.google.com/p/nekopaw
0 stars 0 forks source link

Redownloading e-hentai #202

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I have an image that fails to download from e-hentai I try to redownload 
it like few hours later but it is always failed. Does the program even refresh 
so it can get a new url? Is it possible to change the way it redownloads failed 
images like make it click the "Click here if the image fails loading" which is 
displayed at the bottom of the page on e-hentai

Original issue reported on code.google.com by shao...@gmail.com on 22 Feb 2014 at 7:55

GoogleCodeExporter commented 8 years ago
You reminded me about it. Yes, I forgot that script should renew urls every 
time.

Original comment by catgirlfighter on 24 Feb 2014 at 8:22

GoogleCodeExporter commented 8 years ago
when will this be fixed?

Original comment by shao...@gmail.com on 8 Mar 2014 at 12:14

GoogleCodeExporter commented 8 years ago
Sorry to bump in, but I've had a problem that may be similar/same there.

When downloading a gallery, there may be images that fail to download. When I 
check the Errors, they all say that the Extension could not be obtained, and 
therefore it failed. I don't get why that would happen, but it'll be the same 
images even if you fully restart the download.

I've been wondering as such: How do you set a specific extension, should you 
know that the whole gallery uses just one kind? Everything I try still results 
in the program appending .%ext% to each of them.

Original comment by JarieSui...@gmail.com on 27 Mar 2014 at 5:30

GoogleCodeExporter commented 8 years ago
>JarieSuicune
I extract an extension from a picture's binary. So it maybe not finished 
picture (*hentai's servers are pretty bad and slow so they can cut off 
connections without warning) or another content (like html page instead of 
normal error message).

Original comment by catgirlfighter on 28 Mar 2014 at 9:51

GoogleCodeExporter commented 8 years ago
> shaorin
Should work now, if it don't, then please leave me information to reproduce 
your actions + screenshot.

Original comment by catgirlfighter on 28 Mar 2014 at 10:05

GoogleCodeExporter commented 8 years ago
Thanks! i think it's working

Original comment by shao...@gmail.com on 29 Mar 2014 at 11:06

GoogleCodeExporter commented 8 years ago
Looks like I was wrong it still doesn't refresh url when re-downloading. I was 
trying to download all of bleach doujinshi. Tag used: language:english 
parody:bleach

Original comment by shao...@gmail.com on 31 Mar 2014 at 9:37

GoogleCodeExporter commented 8 years ago
Oh, I see now.
You expecting from app not to "refresh" an url for picture, but to get a new 
one. Is like to click a link "Click here if the image fails loading". App 
"refreshing" an url only getting currently shown (frash) on picture's page.

I'll try to do something about it.

Original comment by catgirlfighter on 31 Mar 2014 at 9:58

GoogleCodeExporter commented 8 years ago
I updated an URL logic for g/exhentai. Check it.

Original comment by catgirlfighter on 31 Mar 2014 at 2:44

GoogleCodeExporter commented 8 years ago
The update made me unable to download pictures. I click on the "Start to 
download pictures" and nothing happens

Original comment by shao...@gmail.com on 31 Mar 2014 at 11:36

GoogleCodeExporter commented 8 years ago
Don't know, why this happen. Just redownloaded app to check it on "clean 
version". Works totally fine for me.

Original comment by catgirlfighter on 1 Apr 2014 at 8:34

GoogleCodeExporter commented 8 years ago
From previous version changed only one *.cfg with g.e-hentai config, and there 
is no any special changes. It should throw an error as minimum. Looks like 
something changed on your PC?

Original comment by catgirlfighter on 1 Apr 2014 at 8:44

GoogleCodeExporter commented 8 years ago
I redownloaded the app but still the same problem. I don't get any errors at 
all it just doesn't download. I can download on other sources but not on 
e-hentai

Original comment by shao...@gmail.com on 1 Apr 2014 at 9:02

GoogleCodeExporter commented 8 years ago
Wait, do you chose any albums before start? You should check items.

Original comment by catgirlfighter on 1 Apr 2014 at 9:21

GoogleCodeExporter commented 8 years ago
Oops I totally forgot to check them since with other sources I didn't need to. 
Anyway I can see re-downloading is also working too but there's one more 
problems. It seems like it can't download albums that have very long titles 
since windows has a character limit of 255. Can you make the app trim title if 
more than 255?

Original comment by shao...@gmail.com on 1 Apr 2014 at 11:47

GoogleCodeExporter commented 8 years ago
Actually, it already do it. Can you give me an example?

Original comment by catgirlfighter on 2 Apr 2014 at 8:39

GoogleCodeExporter commented 8 years ago
Here's the error: 08:42:34 Cannot create file 
"C:\Users\Administrator\Downloads\doujin\ranma\(C82) [Marin (Suzusato Rinka, 
Mage)] Doujouyaburi no Kata wa Katteguchi e Omawari Kudasai _ Challengers 
Please Present Yourself At The Back Door (Ranma 1_2) (English) 
[SaHa]\{7B62926A-EEFA-4561-BECF-1E015A1D2610}.tmp". The system cannot find the 
path specified

Original comment by shao...@gmail.com on 2 Apr 2014 at 8:44

GoogleCodeExporter commented 8 years ago
I see it now. Is not about file's name, is about directory's name. Actually, 
you can create directories that long, but app can't work with it. I'll check 
what I can do.

Original comment by catgirlfighter on 2 Apr 2014 at 9:13

GoogleCodeExporter commented 8 years ago
Is not about directory name, is about path length, including file name in it. 
So if you will use some very short directory for your pics (like "c:\pics\") it 
should fit. Or even better to not use album's names.

I already verify that name shouldn't be longer then 199 symbols.
And I can't cut directory's names to make them fit to the path length, because 
if length of name will be different, so directory's name will be changed too, 
like this:

c:\temp\long name directory\short name.jpg
c:\temp\long name direc\long file name.jpg

Directory name that should be the same, will be different, and it's wrong.

I gonna add an album's ID number. And also you can cut names in needed to you 
parts using formating (like %album:.40s%, which means "maximum 40 characters, 
string type". Without point it will be "minimum 40 characters").
https://code.google.com/p/nekopaw/wiki/NekopawGUI#string-number_format

Original comment by catgirlfighter on 2 Apr 2014 at 10:02

GoogleCodeExporter commented 8 years ago
I'm happy on just getting Album ID

Original comment by shao...@gmail.com on 2 Apr 2014 at 10:27

GoogleCodeExporter commented 8 years ago
I added album's ID to e/exhentai's fields.

Original comment by catgirlfighter on 2 Apr 2014 at 11:15

GoogleCodeExporter commented 8 years ago
Thanks it's all working now

Original comment by shao...@gmail.com on 2 Apr 2014 at 11:25

GoogleCodeExporter commented 8 years ago

Original comment by catgirlfighter on 3 Apr 2014 at 8:43