Onepiece Manga Zip
- Download images of one piece manga chapter from kissmanga -.gitignore. Download ZIP Code Revisions 2. Download images of one. A sample Gemfile.
- ONE PIECE (ワンピース Wan Pīsu) is a pirate adventure manga written and drawn by Eiichiro Oda, created in July 1997. The manga is known to employ colorful and creative motifs that are taken from classic mythology, politics and musical aspects.
Manga-zip.net - 無料ダウンロード漫画 (まんが),here you can find full information about manga-zip.net as whois,ip,backlink.
ruby=ruby-2.1.0 |
ruby-gemset=one_piece |
#ruby-gem-install=bundler rake |
#ruby-bundle-install=true |
# A sample Gemfile |
source 'https://rubygems.org' |
gem 'pry' |
gem 'nokogiri' |
gem 'em-synchrony' |
gem 'em-http-request' |
GEM |
remote:https://rubygems.org/ |
specs: |
addressable (2.3.5) |
coderay (1.1.0) |
cookiejar (0.3.0) |
em-http-request (1.1.2) |
addressable (>=2.3.4) |
cookiejar |
em-socksify (>=0.3) |
eventmachine (>=1.0.3) |
http_parser.rb (>=0.6.0) |
em-socksify (0.3.0) |
eventmachine (>=1.0.0.beta.4) |
em-synchrony (1.0.3) |
eventmachine (>=1.0.0.beta.1) |
eventmachine (1.0.3) |
http_parser.rb (0.6.0) |
method_source (0.8.2) |
mini_portile (0.5.2) |
nokogiri (1.6.1) |
mini_portile (~>0.5.0) |
pry (0.9.12.4) |
coderay (~>1.0) |
method_source (~>0.8) |
slop (~>3.4) |
slop (3.4.7) |
PLATFORMS |
ruby |
DEPENDENCIES |
em-http-request |
em-synchrony |
nokogiri |
pry |
#!/usr/bin/env ruby |
require'bundler/setup' |
require'open-uri' |
require'rss' |
require'fileutils' |
require'nokogiri' |
require'em-synchrony' |
require'em-synchrony/em-http' |
RSS_URL='http://kissmanga.com/RSS/Manga/One-Piece'.freeze |
DOWNLOAD_BASE='./chapters' |
defextract_chapter_image_urlschapter |
chapter =Nokogiri::HTML(chapter) |
chapter.search('div#divImage img').map{ e e['src']} |
end |
defget_images_concurrent(urls, concurrency=5) |
image_data =nil |
EM.synchrony do |
# iterator will execute async blocks until completion, .each, .inject also work! |
results =EM::Synchrony::Iterator.new(urls, concurrency).map dourl, iter |
# fire async requests, on completion advance the iterator |
http =EventMachine::HttpRequest.new(url).aget |
http.callback { iter.return(http) } |
http.errback { iter.return(http) } |
end |
image_data = results # all completed requests |
EventMachine.stop |
end |
image_data.map{ image |
[ image.response, |
image.req.path.split('/').last |
] |
} |
end |
caseARGV.size |
when1 |
first2load =ARGV.first.to_i |
when2 |
first2load =ARGV[0].to_i |
last2load =ARGV[1].to_i |
else |
p'wtf' |
exit1 |
end |
open(RSS_URL) dorss |
feed =RSS::Parser.parse(rss) |
feed.items.each doitem |
number = item.title.match(/d{3}/)[0].to_i |
nextif (last2load && number >= last2load) |
exitif number < first2load |
title = item.title.gsub(/^One Piece /,'') |
chapter_path ='#{DOWNLOAD_BASE}/#{title}' |
nextifFile.exists?(chapter_path) |
FileUtils.mkdir_p(chapter_path) |
#open(URI.encode(item.link)) do chapter |
# IO.write('#{chapter_path}/images.urls', extract_chapter_image_urls(chapter).join('n')) |
#end |
open(URI.encode(item.link)) dochapter |
images = get_images_concurrent(extract_chapter_image_urls(chapter)) |
images.each dodata,filename |
IO.write('#{chapter_path}/#{filename}', data) |
end |
end |
p'Chapter #{title} downloaded!' |
end |
end |
Mangas are basically Japanese comic books that have made their way into Western society as well. Manga series like Naruto, Bleach, One Piece or Berserk are highly popular and are often not only available as manga books but also on TV and DVD.
Several Manga community exist on today's Internet that offer access to Manga scans online, some even with the option to download the manga books to the local computer system.
We have reviewed several programs in the past that add better options to read and download mangas from the Internet. This includes the One Manga Reader, Manga Meeya or the Manga Downloader.
We have also been criticized in the past for reviewing these applications, largely because the programs and extensions offer means to download Mangas, which may not be legal depending on the downloader's jurisdiction.
Still, we are a technology news site that reviews software, not lawyers that can determine whether or not the use of a software is illegal in one of the world's 200 or so countries.
Manga Crawler is a free software program that acts purely as a downloader. It is compatible with several Manga websites, including OneManga, 1000Manga, MangaShare or MangaRun.
The application displays all compatible servers in the left column. Selecting one of the servers will pull the available Manga series from it.
These series are then displayed in the second column. The selection of a Manga in the second column pulls the available chapters from the site's server.
Selecting one or multiple volumes, and clicking on the download button will download all pages of the selected Mangas.
It is furthermore possible to click on the Visit page button to read the Manga on the original website.
The Downloading tab displays the download queue and a log that lists errors and download paged.
Manga Crawler is an easy to use portable software, it does not take more than a few clicks to start reading or downloading the selected Manga.
The program had difficulties downloading information from some Manga servers, trying again at a later time resolved some of the issues.
Manga Crawler can be downloaded from the projects website over at Codeplex.