Windows examples, runnables, etc.

This commit is contained in:
Roel van Uden 2015-01-24 14:56:12 +01:00
parent fd9ef59145
commit c520401432
7 changed files with 42 additions and 25 deletions

1
.npmignore Normal file
View File

@ -0,0 +1 @@
extras/

View File

@ -1,29 +1,30 @@
# CrunchyRoll.js
*CrunchyRoll.js* is capable of saving *anime* episodes from the popular *CrunchyRoll*
streaming service. An episode is stored in the original video format (often
H.264 in a MP4 container) and the configured subtitle format (ASS or SRT). The
two output files are then merged into a single MKV file.
*CrunchyRoll.js* is capable of downloading *anime* episodes from the popular
*CrunchyRoll* streaming service. An episode is stored in the original video format
(often H.264 in a MP4 container) and the configured subtitle format (ASS or
SRT).The two output files are then merged into a single MKV file.
## Motivation
*CrunchyRoll* has been providing an amazing streaming service and offers the
best way to enjoy *anime* in a *convenient* and *legal* way. As a streaming
service, video files cannot be saved and watched offline. Understandable from a
business perspective and considering possible contract implications, but annoying
for users. This application enables episodes to be saved for offline convenience.
Please do not abuse this application; save episodes for **personal use** and
**delete them** if you do not have an active premium account. Continue to support
*CrunchyRoll*; without our financial backing their service cannot exist!
service, video files cannot be downloaded and watched offline. Understandable
from a business perspective and considering possible contract implications, but
annoying for users. This application enables episodes to be downloaded for
offline convenience. Please do not abuse this application; download episodes for
**personal use** and **delete them** if you do not have an active premium
account. Continue to support *CrunchyRoll*; without our financial backing their
service cannot exist!
## Legal Warning
This application is not endorsed or affliated with *CrunchyRoll*. The usage of
this application enables episodes to be saved for offline convenience which may
be forbidden by law in your country. Usage of this application may also cause a
violation of the agreed *Terms of Service* between you and the stream provider.
A tool is not responsible for your actions; please make an informed decision
prior to using this application.
this application enables episodes to be downloaded for offline convenience which
may be forbidden by law in your country. Usage of this application may also
cause a violation of the agreed *Terms of Service* between you and the stream
provider. A tool is not responsible for your actions; please make an informed
decision prior to using this application.
## Status
@ -41,13 +42,13 @@ prior to using this application.
* Add CLI interface with all the options.
* Support scheduled merging; if it fails now, the video is probably being watched.
* Add authentication to the entire stack to support premium content.
* Binary runner for `npm`
* Windows examples with a .bat for ease of use.
* Publish to `npm` with a fixed package.json.
### Pending Implementation
* Binary runner for `npm`
* Windows examples with a .bat for ease of use.
* Documentation.
* Publish to `npm` with a fixed package.json.
* Enjoy beautiful anime series from disk when internet is down.
## Configuration

5
bin/crunchyroll Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env node
var path = require('path');
var fs = require('fs');
var lib = path.join(path.dirname(fs.realpathSync(__filename)), '..');
require(lib);

3
extras/CrunchyRoll.bat Normal file
View File

@ -0,0 +1,3 @@
call npm update -g crunchyroll
call %AppData%\npm\crunchyroll -u YOURUSERHERE -p YOURPASSWORDHERE
pause

1
extras/CrunchyRoll.txt Normal file
View File

@ -0,0 +1 @@
http://www.crunchyroll.com/sword-art-online

View File

@ -3,5 +3,4 @@ var src = require('./src');
src.batch(process.argv, function(err) {
if (err) return console.error(err.stack || err);
console.log('Finished.');
});

View File

@ -1,13 +1,17 @@
{
"author": "Roel van Uden",
"description": "CrunchyRoll.js is capable of downloading anime episodes from the popular CrunchyRoll streaming service.",
"keywords": [
"anime",
"download",
"crunchyroll"
],
"name": "crunchyroll",
"repository": "git://github.com/Deathspike/crunchyroll.js.git",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"bin": {
"mangarack": "./bin/crunchyroll"
},
"author": "",
"license": "ISC",
"dependencies": {
"big-integer": "^1.4.1",
"cheerio": "^0.18.0",
@ -15,5 +19,8 @@
"mkdirp": "^0.5.0",
"request": "^2.51.0",
"xml2js": "^0.4.4"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}