GithubHelp home page GithubHelp logo

onenyon / kissanime_dl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wileyalt/kissanime_dl

0.0 2.0 0.0 78 KB

web-crawler / package manager / kissanime downloader

License: MIT License

Python 100.00%

kissanime_dl's Introduction

#kissanime-dl

Build Status

Downloads all mp4s from a kissanime mastersite! (kissanime.to/Anime/*)

##Currently supports as hosts:

Blogspot

Openload.co

##DOES NOT SUPPORT ONEDRIVE

#Dependencies: lxml

requests

js2py

#Installation ##*nix or OSX:

STATIC_DEPS=true pip install lxml==3.5.0
pip install kissanime_dl

##Windows:

Windows is a tricky one.

Try:

pip install kissanime_dl

If you get an error like:

error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)

There are more steps needed. First, go to

http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml

and download the proper 3.5.0 lxml wheel.

Then, type

pip install PATH_LXML

where PATH_LXML is the path to the lxml wheel you downloaded.

Then, try to reinstall.

FOR ALL WINDOWS INSTALLATIONS

BUT WAIT, THERE'S MORE

Due to a bug in pip, the script it generates is broken, and needs to be manually fixed.

Type in

pip show kissanime-dl

and go up the filesystem to the pythonXX\Scripts directory, where there should be a file named

kissanime-dl-script.py

open it in a text editor and change

#!LONG, LONG, PATH

to

#!"LONG, LONG, PATH"

This is because spaces in the path name screw everything up, and that bug in pip still hasn't been fixed.

Everything should be installed properly, and this can be verified by typing into cmd:

kissanime-dl

#Usage:


Type into shell:
kissanime-dl URL PATH_TO_DOWNLOAD OPT_ARGS

####
MAKE SURE THAT kissanime_dl RUNS IN SEPARATE DIRECTORIES FOR DIFFERENT URLS, OR ELSE UPDATE WILL BE SCREWY
####

First argument: the url to the kissanime.to/Anime/* page. It can also be "update" which will download any videos not downloaded into the folder. 
"update" can only be used if kissanime_dl has been run in that directory and has generated a history file

Second argument: the path to download files to

Optional arguments:

--verbose: Verbose output

--simulate: Grabs download urls, but doesn't download

--episode=OPT_BEG%OPT_END: Downloads specific episodes.
	If only OPT_BEG is given WITHOUT "%", only one episode will be downloaded.
	If only OPT_BEG is given WITH "%", then all files after OPT_BEG will be downloaded.
	If only OPT_END is given WITH "%", then all files before OPT_END will be downloaded.
	If OPT_BEG and OPT_END is given, then a range between the two will be downloaded. 
	"%" literal needs to be between the two. 
	OPT_BEG needs to be above OPT_END in terms of the page

--max_threads=VAL: Sets the max_threads to search for the download urls. 
	The threads for the actual downloading is not affected.
	The actual downloading uses one thread per file

--quality=QUAL: Sets the quality of the downloaded video.
	If the quality is not found, the highest one is downloaded

--txtlinks
	Doesn't downloads the videos, but prints the direct video urls into a txt file.

--forcehistory
	Forces a history to be written with the given episodes.
	This is good for manually setting files you don't want to download when updating

โ€”-openload
	Puts priority to using openload as host. 

--help: Prints help

#Example Usage


##Initial run
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK

##To update videos
kissanime-dl update ~/Videos/NHK

##Download one episode
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK --episode=5

##Download range of episodes
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK --episode=20%4

##Choose quality
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK --quality=1080

##Make txt file
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK --txtlinks

##Force history
kissanime-dl https://kissanime.to/Anime/NHK-ni-Youkoso ~/Videos/NHK --forcehistory

I think you get the picture

kissanime_dl's People

Contributors

wileyyugioh avatar

Watchers

James Cloos avatar  avatar

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.