Giter VIP home page Giter VIP logo

manga-scraper's Introduction

Manga-Scraper

Introduction

This script downloads manga from kissmanga.com

Inspired From Astrames

Contents

Demo

  • Manga Scraper Demo

Installation

  • Install 3.8 from here
  • Install git from here
  • Run git clone https://github.com/Crucizer/Manga-Scrapper.git
  • Run pip install -r requirements.txt

Usage

  • Change the "save_path" variable in the starting of the main.py file if you wanna change manga directory to somewhere else.(By Default it's the same directory as the script)
  • Execute manga.py.
  • Enter The URL of the manga from kissmanga.com
  • Enter the chapter range
  • You might have to solve a captcha but only once.
  • Enjoy!

Features

  • Downloads all images of a chapter and puts them in a seperate folder.
  • Creates A CBR of each chapter outside the directory and deletes the chapter directory as it is no longer needed.

manga-scraper's People

Contributors

crucizer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

athphane kweusuf

manga-scraper's Issues

Can't run the script

hello

the script doesnt run at all and i have no idea if i did something wrong.

chromedriver is installed but allowing only local connections.

here is what i get.

C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\python.exe C:/Users/Lasri/Manga-Scrapper/manga.py
Launching Web browser Silently...
Traceback (most recent call last):
File "C:/Users/Lasri/Manga-Scrapper/manga.py", line 184, in
hey.basic()
File "C:/Users/Lasri/Manga-Scrapper/manga.py", line 168, in basic
self.browser = webdriver.Chrome(driver_path, options=Options)
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 1247, in _execute_child
args = list2cmdline(args)
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py", line 549, in list2cmdline
for arg in map(os.fsdecode, seq):
File "C:\Users\Lasri\AppData\Local\Programs\Python\Python38-32\lib\os.py", line 818, in fsdecode
filename = fspath(filename) # Does type-checking of filename.
TypeError: expected str, bytes or os.PathLike object, not NoneType

Process finished with exit code 1

Ordering of downloaded images.

The extracted URLs of all the images don't necessarily ensure the correct ordering of the images being downloaded. Hence the output PDF is all jumbled up.

The correct way to do this would be to save the image by the name extracted from the URL itself(I've observed that extracting name from the section of URL such as "title=MTU3LjM0LjEwMS40OA003___1582366331.png" helps as these are ordered correctly) and then processing them further.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.