Git Product home page Git Product logo

nhentai-downloader's Introduction

Download NHentai Mangas without an account

These Ruby sript are to download the nhentai's manga without an account. It does take more time a more than to download then individually using the download button method, but you can execute the script and leave it be downloading.

You can download just one manga using the script 'nhentai.rb' and paste the manga's url once the script is executed.

Now, the script 'nhentai_search.rb' and 'nhentai_tag' are to download all page result (nhentai has 25 mangas per page) from given tag or search. The program will ask the user to input a search/tag, the page want to be downloaded and if want to download the sort by recents or popular.

Once the program is executed it creates a new folder with name of your search/tag input and save each manga in their individually folders.

![](New Project(2).png)

Installation

Ruby Installation

First all, you need to have Ruby programming language installed.

Linux (Ubuntu 18.04)

sudo apt install ruby-full

MacOS Check out this site https://stackify.com/install-ruby-on-your-mac-everything-you-need-to-get-going/

Windows Check out this site https://rubyinstaller.org/

Gems installation

You need to install the following gems in order to run the these scripts

Nokogiri

gem install nokogiri 

Rest-Client

gem install rest-client

Open-uri

gem install open-uri

FileUtils

gem install fileutils

Progress_bar

gem install progress_bar

And that's it.

nhentai-downloader's People

Contributors

nicweeaboo avatar gregory280 avatar

Stargazers

Deo Subarno avatar internet wizard avatar Faber avatar Robi avatar Iulia Danilov avatar  avatar  avatar MihirGosai avatar Rogério Salvadeo avatar

Watchers

 avatar

nhentai-downloader's Issues

not working on WSL + Ubuntu 18.04

I installed ruby-full, rvm and all the Gems required.
Then I execute ruby nhentai.rb, paste my url, and while a folder is created and WSL says that the doujin is being downloaded, that's not true. The folder is empty and nothing else happens.

jorgito@DESKTOP-G4LBCQJ:/mnt/c/Users/jorgito/Misc$ cd nhentai-downloader/
jorgito@DESKTOP-G4LBCQJ:/mnt/c/Users/jorgito/Misc/nhentai-downloader$ ruby nhentai.rb
/---NHENTAI TAG DOWNLOADER---/
-----------------------------------------------------------------
Paste your url:
https://nhentai.net/g/144452
Downloading (C83) [Katamariya (Kanetsuki Masayoshi, Shinama)] Chin☆Homu (Puella Magi Madoka Magica) [English] [doujin-moe.us]
jorgito@DESKTOP-G4LBCQJ:/mnt/c/Users/jorgito/Misc/nhentai-downloader$

not working on Arch wsl

output :

-----------------------------------------------------------------
Paste your url:
https://nhentai.to/g/323391
Downloading (SC2017 Winter) [Circle-FIORE (Ekakibit)] Kukkoro Musume no Koigokoro (Kono Subarashii Sekai ni Syukufuku o!) [Chinese] [路过的骑士汉化组]
Maybe this link does not exist..? https://nhentai.to/g/3233911
Exeception Class:RestClient::NotFound
Exception Message:404 Not Found
Traceback (most recent call last):
        6: from nhentai.rb:59:in `<main>'
        5: from nhentai.rb:17:in `run'
        4: from nhentai.rb:34:in `scrapping'
        3: from /home/guillaume/.local/share/gem/ruby/2.7.0/gems/progress_bar-1.3.3/lib/progress_bar/with_progress.rb:8:in `each_with_progress'
        2: from /home/guillaume/.local/share/gem/ruby/2.7.0/gems/progress_bar-1.3.3/lib/progress_bar/with_progress.rb:8:in `each'
        1: from /home/guillaume/.local/share/gem/ruby/2.7.0/gems/progress_bar-1.3.3/lib/progress_bar/with_progress.rb:8:in `block in each_with_progress'
nhentai.rb:37:in `block in scrapping': undefined method `xpath' for nil:NilClass (NoMethodError)

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.