7 ms·
You can bulk download these with wget like so; wget http://www.ghibli.jp/gallery/{ged,chihiro,karigurashi,ponyo,kokurikozaka,marnie,kaguyahime,kazetachinu}{0
by ryankrage77 6y ago
You can bulk download these with wget like so;
wget http://www.ghibli.jp/gallery/{ged,chihiro,karigurashi,ponyo,kokurikozaka,marnie,kaguyahime,kazetachinu}{001..050}.jpg
However they're low quality 1080p jpegs, so you're better off splitting out the frames of a blu-ray rip of the movie using ffmpeg or something.
- rootsudo 6y agoI did not know I could do {001...999} with wget! wow!
- pxndxx 6y agoThat's a shell feature, not wget's.
- lohfu 6y agoReally? I thought the shell could only expand globs if it matches files on the local file system?
- ses1984 6y agoThoae aren't globs, if you put an asterisk there it would not work.
- falcor84 6y agoYou're right regarding glob functionality, but the curly braces are a separate shell feature. The most useful idiom I use it for is renaming or copying, e.g.: cp filename{,_backup}
- lloeki 6y agoThe feature is called brace expansion: https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html#Brace-Expansion https://www.gnu.org/software/bash/manual/html_node/Brace-Exp... You may also be interested in yet another powerful feature that is parameter expansion: https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html https://www.gnu.org/software/bash/manual/html_node/Shell-Par... Filename expansion (nitpick: often mistaken for globbing) is performed last: https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html#Filename-Expansion https://www.gnu.org/software/bash/manual/html_node/Filename-...
- account42 6y ago> nitpick: often mistaken for globbing What exactly would you call globbing if not the feature that is controlled using the nullglob, failglob, nocaseglob and dotglob options as well as the GLOBIGNORE variable.
- lloeki 6y agoGlobbing has an ambivalent definition given that it’s mostly used for filename matches (especially given its origin as the glob command), but it’s really a specific form of pattern matching using wildcards such as * and ?, it need not apply only to filenames or paths on the filesystem: this matching is also used to match strings in case/in/esac constructs and test’s == != https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs https://www.gnu.org/software/bash/manual/bash.html#Condition... I guess one could say globbing is applying this pattern matching to filter a list.
- jasonjayr 6y agoCurl has it built in: curl -O 'https://example.org/[2-4].jpg' (quotes disable any kind of shell expansion)
- kazinator 6y agoYou mean, you didn't know that wget can be given more than one URL argument it can fetch, and that Bash can generate arguments with interpolated numbers using {from...to}.
- SparkyMcUnicorn 6y agoIt isn't bound by command. You can use it everywhere!
- barrkel 6y agoOf course, this only works well with non-ancient bash, not the ancient version which ships with MacOS, which will do {1.999} but can't do the leading zeros (you can use printf '%.3d' as a separate step).
- deleted 6y ago[deleted]
- yummybear 6y ago...Found the guy who crashed the site ;)
- arkitaip 6y agoIt's really the tragedy of the commons and why we can't have nice things. Ghibli went out of their way and gave something nice, only to have it immediately abused by gluttonous data horders.
- hajhatten 6y agoYeah, it's definetly the ~100 people using a shell script to download a couple of jpegs crashing the site. Not millions of regular people looking around.
- ekianjo 6y agoOut of their way? Releasing a few pictures they already stored digitally hardly seems like a lot of effort.
- poopsmithe 6y agoThis is a nice use case for IPFS. People `ipfs pin` the images to satisfy their data lust, and instantly become part of the growing swarm of computers which are now serving the content to new visitors.
- throwaway8941 6y agoOr just put it on a tracker, like we've been doing for 20 years.
- nicolaslegland 6y agohttps://instant.io/#e371e76f57923f555c0585910420137cd615911a https://instant.io/#e371e76f57923f555c0585910420137cd615911a magnet:?xt=urn:btih:e371e76f57923f555c0585910420137cd615911a
- scns 6y agoCould you upload an archive for the others since the site went down? With the note about usage preferrably.
- the_af 6y ago> However they're low quality 1080p jpegs Good enough for me :) They look nice. Thanks for the wget tip!
- maple3142 6y agoI know shell can expand, but this is my first time seeing somethings like this. I didn't know shell can do things like Cartesian product before.
- kotrunga 6y agoDumb question but I'm getting 404 errors with the wget command (but the urls work fine in the browser). Any advice?
- happy_bear 6y agoI got the same error on zsh, but not on bash
- kotrunga 6y agoI was using fish, wasn't working there either. thanks :)
- eejjjj82 6y agoCheck out https://letsenhance.io/ https://letsenhance.io/ I've been using it for >year to get print quality images. Works great
- Rafael_Milcic 6y agoTo piggyback off this - As a graphic designer, I've tried basically all publicly available upscaling tools, and Gigapixel AI is by far the best one.
- kixiQu 6y agoIf anyone upscales this collection, can they send me a message (all modes of contact on https://maya.land/ https://maya.land/)? I'm happy to send you some $ to be able to download the higher res copies; seems like a waste to do it twice.
- lucascantor 6y agoI've given this a shot using Pixelmator (https://www.pixelmator.com/blog/2019/12/17/all-about-the-new-ml-super-resolution-feature-in-pixelmator-pro/ https://www.pixelmator.com/blog/2019/12/17/all-about-the-new...) Expect an email with the upscaled images sent via WeTransfer.
- kixiQu 6y agoThanks!! Appreciate it. :) Let me know if you've got a ko-fi or whatnot?
- combatentropy 6y ago> low quality 1080p jpegs imagemagick reports their quality as 75, based on a few I picked at random: identify -format '%Q' marnie007.jpg 75 --- which is not terrible but not great either. The thumbnails are PNG. It's too bad they didn't use that for the full-size ones.
- jordache 6y agogood enough as photo reference!
- feross 6y agoDownload them over WebTorrent directly in your browser: https://instant.io/#e371e76f57923f555c0585910420137cd615911a https://instant.io/#e371e76f57923f555c0585910420137cd615911a magnet:?xt=urn:btih:e371e76f57923f555c0585910420137cd615911a
- ivarv 6y agoonce downloaded to the browser is there an easy to dump the images to disk?
- Santosh83 6y agoWithout addons, I suppose "Save Page" is your only option. Or tediously save each image manually.
- ivarv 6y agoIn firefox the "Save Page" doesn't save the downloaded images. I'll have to investigate the addon options.. So far on Firefox neither "Down them all!" nor "Download All Images" recognized the torrented images.
- nicolaslegland 6y agoLook for the "Download all files as zip" link.
- ivarv 6y ago