yjk602 / nekopaw

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

Possible solution for some dead Pixiv links #278

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I came across this image posting, which grabber fails to get:
http://www.pixiv.net/member_illust.php?mode=medium&illust_id=11269170

Upon visiting it, I found the reason was because when you click the image, it 
brings up the full image page, but the image file is a dead link, so has 
nothing to download.
But since I still want the image, I decided to get the 'preview' image, since 
that is still intact, and looks great:
http://i2.pixiv.net/img30/img/oba-min/11269170_m.jpg

So, I wonder if it could be added to have a way to have it download the preview 
image if there is a dead link? (usually appended with _m for medium preview, 
sometimes _s if if's a smaller image(?))

Original issue reported on code.google.com by JarieSui...@gmail.com on 2 Jan 2015 at 11:35

GoogleCodeExporter commented 8 years ago
There is no any switches in app to change a source field for URLs. I.e. app 
programmed to get URLs from place, scripted in a file, so you have to change a 
script. I can add an option to download _m version of file if unable to get a 
full version, and maybe think about a way, how to switch it without changing a 
script.

Original comment by catgirlfighter on 13 Jan 2015 at 3:32

GoogleCodeExporter commented 8 years ago
I would be fine with that; could there be a download note somehow, that 
indicates it (so can be spotted out of a large bulk download)? Maybe a Green 
mark, but with an "?"?

Original comment by JarieSui...@gmail.com on 13 Jan 2015 at 9:06

GoogleCodeExporter commented 8 years ago
I'll just add a new field. You will be able to add it in table if you want to 
spot it quickly.

Original comment by catgirlfighter on 29 Jan 2015 at 1:04

GoogleCodeExporter commented 8 years ago
That should work. ^_^

Ah, I've also noticed a couple downloads that didn't detect the Large image 
size (instead getting the medium/preview size), even though I didn't see any 
reason they wouldn't (I verified them on Pixiv). I wish I'd listed a couple to 
link for you, but figure I'll at least mention it so you know.

Original comment by JarieSui...@gmail.com on 29 Jan 2015 at 2:32

GoogleCodeExporter commented 8 years ago
Added an option:
- use a medium size as an alternative;

Added two fields:
- %medium - it's a plain URL to the medium (_m) size picture (from picture's 
page);
- %prefix_m - if it's empty - normal url was used, if there is "_m" - medium 
url was used instead. You can use it to spot samples and to make a custom name 
for that pictures;

>I wish I'd listed a couple to link for you
That would be very useful. Pixiv changes templates quite rapidly and not "at 
once" (i.e. it might work with SOME pictures, not with all), so it's can to be 
hard to find changes.

Original comment by catgirlfighter on 29 Jan 2015 at 3:09

GoogleCodeExporter commented 8 years ago

Original comment by catgirlfighter on 3 Feb 2015 at 2:45