Skip to content

Instantly share code, notes, and snippets.

@firefish5000
Last active March 7, 2020 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save firefish5000/4222fcc391c7e7a303ce1a8acb5cb357 to your computer and use it in GitHub Desktop.
Save firefish5000/4222fcc391c7e7a303ce1a8acb5cb357 to your computer and use it in GitHub Desktop.
gold_loli_comment_with_code

I don't know of any decent ripping sites unfortunately. However, I believe you can extract it from https://loveheaven.net/manga-saving-80000-gold-coins-in-the-different-world-for-my-old-age-raw.html with moderate ease. Here is an example I whipped up with dta and perl. There is something that occasionally causes issues on the first try with this method (might just be due to concurrent downloads), but generally works on the second. With a little work, someone can probably script this completely. And even if not, you can definitely find a method to save the images as you browse (without having to re-download and rename as I do with dta/perl here).

Example video

Site

DownloadThemAll (dta)

41.1-42.1 zip

DTA Settings

Fast Filtering: /https://s[1-3]\./

Masks: GoldLoli/*title*/*name*.*ext*

Rename Script

Perl script to rename the images. Run in the GoldLoli directory created by dta in my example. It will rename the chapter directory and all the images appropriately. Written for linux/mac. Someone else will have to come up with a decent example for windows. I have heard good things about WSL, not sure if its something a normal person would install though. Probably easier to come up with a better ripping strategy.

# Be sure to cd into the GoldLoli directory before running this. Will not work on windows unless you install perl5
 perl -e 'foreach my $dir (<*>) { my $chapter = $1 if $dir =~ m{(\d+(?:.\d+)?)\D+$}; next if (!$chapter); rename $dir,$chapter; foreach my $file (<"$chapter"/*>) { my $newName = "$chapter/$1.$2" if $file =~ m{^[^_]+(\d\d)(?:_[^._]+)?\.([^.]+)$}; rename $file, $newName ;}  }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment