dikarel / manga-dl Goto Github PK
View Code? Open in Web Editor NEWDownload manga from popular scanlation sites via command line
Download manga from popular scanlation sites via command line
Can Add New Website Manga Translation?
http://komikcast.com/
http://subapics.com/
hitomi.la
Sometimes it just takes a while (e.g. > 50 pages), and it'll look like the program is hanging if your connection happens to be slow
Prototype
Downloading DICE: The Cube that Changes Everything chapter 192... (16 of 54 pages)
The first problem si with URL's that have floating chapter numbers like below:
manga-dl http://mangapark.me/manga/ane-naru-mono/s2/c9.5/1
output: error the URL is not supported
The second problem with long manga names(even though I am not completely sure about the cause) like below:
manga-dl http://www.mangapanda.com/dice-the-cube-that-changes-everything/192/1
or even with
manga-dl http://mangapark.me/manga/dice-the-cube-that-changes-everything-yun-hyun-suk/s3/c192/1
output: It says that is extracting info and it displays the correct number of pages but it doesn't download them.
One of the survey answers was the ability to mass-download all chapters of a manga
Prototype
$ manga-dl --all http://www.mangareader.net/world-trigger/141
Extracting info from http://www.mangareader.net/world-trigger/141...
Downloading World Trigger chapter 1... (54 pages)
Downloading World Trigger chapter 2... (33 pages)
Might be a feature request.
If we could name each image as 001, 01 depending on highest count it will be helpful.
Have attempted a script to download entire then rename then to cbz format, would you like to add this to your repo?
Please add mangago.me
~/backup/manga-dl/test$ ../manga.py -nm https://readms.net/manga/hajime_no_ippo
N/A% (0 of 17) | | Elapsed Time: 0:00:00 ETA: --:--:--
Traceback (most recent call last):
File "../manga.py", line 12, in
main()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/init.py", line 34, in main
cli_mode.start()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/cli.py", line 96, in start
self.parser.start()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/parser.py", line 39, in start
self.provider.process(self.params['url'], self.params)
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 68, in process
self.loop_chapters()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 90, in loop_chapters
self.loop_files()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 98, in loop_files
self._one_thread_save(self._storage['files'])
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 185, in _one_thread_save
self.save_file()
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 125, in save_file
_path, idx, _url = self._save_file_params_helper(url, idx)
File "/home/na/slow/home/na/backup/manga-dl/manga_py/provider.py", line 118, in _save_file_params_helper
filename = remove_file_query_params(basename(_url))
File "/home/na/slow/home/na/backup/manga-dl/manga_py/fs.py", line 56, in basename
return path.basename(_path)
File "/usr/lib/python3.5/posixpath.py", line 139, in basename
i = p.rfind(sep) + 1
AttributeError: 'list' object has no attribute 'rfind'
100% (17 of 17) |###############################################################| Elapsed Time: 0:00:00 Time: 0:00:00
It looks like it's finding the right url but it's returning a list rather than a string which causes the AttributeError.
Sometimes title names are really long, and downloading it locally will exceed the OS's path length
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.