ThePeePs / DigitalBlasphemy-Downloader

Automatic downloading of new renders from Digital Blasphemy via the RSS feed
GNU General Public License v3.0
4 stars 2 forks source link

Digital Blasphemy Auto Downloader

This perl script will read the RSS feed from http://digitalblasphemy.com and auto download user selected sizes of Ryan Bliss's latest renders. You must be a Member of Digital Blasphemy to download the Hi-Res versions (member-sizes).
If you have any suggestions, feature requests or find a bug, please open a issue.
If you would like to contribute, please fork the repo, and submit a Pull Request.

This project is nolonger supported, please see the newer python version.

Usage

If you are on Windows, you need to install Perl (see Windows Install). The following modules are also requred.

The script needs to be run from it's directory, or it will not be able to find the config file.

patcher.pl should be used after you updated (either git pull or svn checkout). It will add any new sizes that Ryan has added to the site (commented out), and remove the ones that are longer offered. It should also be run from it's directory.

Installation

Windows Install

Download Perl for Windows from http://strawberryperl.com and install.

Open a cmd prompt and install the required perl modules. (copy/paste below)

cpan Sys::Hostname::Long Config::IniHash DateTime::Format::Mail HTML::TreeBuilder::XPath Mail::Sender XML::RSS::Parser

Download Git client for windows at: http://windows.github.com and install

Open the "Git Shell" and paste the following:

git clone https://github.com/ThePeePs/DigitalBlasphemy-Downloader.git db-downloader

If you do not feel comfortable with using Git, you can also use TortoiseSVN

Create a new folder, right-click on it, select SVN Checkout.. and paste the following in to URL feed:

https://github.com/ThePeePs/DigitalBlasphemy-Downloader

Copy or rename db-rss-reader.ini.default to db-rss-reader.ini.
Edit the config (db-rss-reader.ini) to suit your needs. (I suggest using Wordpad or Notepad++)

To run the scipt. open a command prompt, and cd to the directory of the script, and enter:

perl db-rss-reader.pl

I suggest you set it up as a scheduled task to run at least once a week.

Linux Install

First you need some Perl libraries. On Debian/Ubuntu run:

sudo apt-get install git libconfig-inihash-perl libwww-perl libhtml-treebuilder-xpath-perl libmail-sender-perl
sudo cpan DateTime::Format::Mail XML::RSS::Parser

On Fedora instead run:

sudo dnf install perl-Config-IniHash perl-libwww-perl perl-HTML-TreeBuilder-XPath perl-Mail-Sender perl-DateTime-Format-Mail perl-XML-RSS perl-Sys-Hostname-Long

Clone the repo.

git clone https://github.com/ThPeePs/DigitalBlasphemy-Downloader.git

Copy or rename db-rss-reader.ini.default to db-rss-reader.ini.
Edit the config (db-rss-reader.ini) to suit your needs.

Then run the script from it's directory.

perl db-rss-reader.pl

I suggest you set it up as a cron job to run at least once a week.

Donations welcome:

PayPal: PayPal - The safer, easier way to pay online!

BTC - 1BDcKT5MFCERg3tV9VYKPfZzrY8nCXW5cQ
LTC - LeY83s2QE83MruyNsJjfcsJYiKF9fRxhNM
CAT - 9rNerHqUTcoLPGtiUxiR3L6onAxe1MRBst