You are not logged in.

#1 2015-07-02 15:59:33

Tuxy
Member
Registered: 2015-04-26
Posts: 22

atget.rb v2.0 {2015-06-20}

AtGet v2.0 {2015-06-20} by Tux
Apple current trailers and covers downloader.
https://github.com/tuxy/ruby/blob/master/atget.rb

--- Usage ---

// download this ruby script

curl -s https://raw.githubusercontent.com/tuxy/ruby/master/atget.rb -o ~/atget.rb

// change script permission

chmod +x atget.rb

// change script trailers/covers directory

dir = '/home/trailers'

All other directories will be created under "dir" automaticly.
Every thing is organized in two sub-dirs "covers" and "movies".
Then stored in /YYYY/ (by year), /01-Jan/ (by month).
File names are stored by DD_title (date_title) format.

// example dir/file

/home/trailers/covers/2016/01-Jan/01_Some.Trailer.Name.Here.jpg
/home/trailers/movies/2016/01-Jan/01_Some.Trailer.Name.Here.mov

Note: This script can be used with cron, but I don't recommend setting it to anyting less then @weekly.

Last edited by Tuxy (2015-07-02 16:32:07)


--{ Using Arch Linux Since 2011-10-25 }--
Keybase @ https://keybase.io/tuxy
GitHub @ https://github.com/tuxy

Offline

Board footer

Powered by FluxBB