Skip to content

lostcolony/comic-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComicDownloader

This is a simple utility intended to download free (i.e., no authentication) comics from online sources. With Elixir installed, it should just be a mix install, then add your configs, iex -S mix, then ComicDownloader.run

The Webtoons downloader requires Imagemagick installed and configured to allow for enough resources to stitch vertical images together.

Config

Config goes in ./comic_configs; one file per sequential execution. Format is something like (not all keys are necessary)

  "comics" => %{
    "WHATEVER_COMIC_NAME" => %{
      "count" => 1,
      "delay" => 1000,
      "extension" => ".gif",
      "img_css" => "CSS SELECTOR TO IMG TAG FOR COMIC",
      "name_func" => &ComicDownloader.Default.url_to_name/1,
      "next_css" => "CSS SELECTOR FOR ANCHOR TAG FOR NEXT URL",
      "url" => "URL_TO_FIRST_COMIC"
    }
  },
  "func" => &ComicDownloader.Default.save_page/1

About

Just a quick utility to download web comics to local storage for offline perusal. Not maintained, not supported, built for fun and personal use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages