Phantomjs >= 1.9.8
-
Now all urls and auth information stored to json file and this file used for grabbing information and generating list
-
With Auth:
-
Before usage please replace XXXX with actual password and email inside
examples/exampleList.json
phantomjs --cookies-file=cookies.txt ororoInfoGrabber.js examples/exampleList.json
- Output: json files with grabbed information and list_1420521341104.json with list of generated files
- 1420521341104 - this is timestamp
- If for any link inside json list value of key
needAuth
equal totrue
then usephantomjs --cookies-file=cookies.txt ``` parameters
- Without Auth
phantomjs ororoInfoGrabber.js examples/exampleList.json
- Note:
needAuth
can befalse
for all links in json list
Obsolete usage of grabber
- For grabbing information about shows
phantomjs ororoInfoGrabber.js shows http://ororo.tv/en/shows/the-wire#1 > result_shows.json
- For grabbing information about movies
phantomjs ororoInfoGrabber.js movies http://ororo.tv/en/movies/the-fifth-element > result_movie.json
- Use authentication
phantomjs --cookies-file=cookies.txt ororoInfoGrabber.js auth USER_EMAIL USER_PASSWORD shows http://ororo.tv/en/shows/breaking-bad > breaking-bad.js
-
Requirements
Node.js (v0.10.32)
-
Prepearing to use:
npm install
- Basic usage:
node downloader.js list_1420532534950.json media/video media/posters
- With posting data to api method:
node downloader.js list_1420532534950.json media/video media/posters post-data http://localhost:8000
- Parameters:
list_1420532534950.json
- file generated by grabbermedia/video
- path to folderpost-data
- special flag for activation post data to API method actionhttp://localhost:8000
- api protocol and host
Obsolete information
- Basic usage:
node downloader.js result_shows.json path/to/store/downloaded/data
- With posting data to api method
node downloader.js result_shows.json media/video post-data http://localhost:8000 8304
- Parameters:
result_shows.json
- json file with linksmedia/video
- path to folderpost-data
- special flag for activation post data to API method actionhttp://localhost:8000
- api protocol and host8304
- id of series inside api database
-
Requirements:
- Install
ffmpeg
- Use instructions for different OS
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#prerequisites
- Install new package
fluent-ffmpeg
(this library added topackage.json
)- Use command
npm install
- Use command
- Install
-
Basic usage:
node thumbsMaker.js path/to/root/folder/with/videos path/to/folder/for/saving/thumbs
- Example
node thumbsMaker.js media/video media/preview
- Additional information:
- If you don't set second parameter with path to folder for saving thumbnails, then thumbnails will be saved inside the video file folder (near the video file)
- Usage
node srtParser.js media/video breaking-bad.json 8308
media/video
- path to folder which contains all series foldersbreaking-bad.json
- json file with data generated by grabber8308
- name of folder with serial content
- After executing command inside current directory created sql file with name
series_8308_script.sql
- Please don't forget to insert
use database_name;
at top of the script
- Please don't forget to insert