/Hoarder

Hoarding from Social Media

Primary LanguagePHPMIT LicenseMIT

Hoarder

Hoarding from social media sites

Install

Copy contents of .env.example into .env and update with local settings

DB_DATABASE: Your database name

DB_USERNAME: Database user name

DB_PASSWORD: Database password

DOWNLOAD_PATH: Literal path to downloads directory

$ composer install
$ php artisan key:generate
$ php artisan migrate:fresh

Basic Usage

Scrape watched subs

php artisan process:subs

Extract downloadable information from posts

php artisan process:posts

Additional processing to extract downloadable items. This might be image albums or fetching direct links to videos

php artisan process:external

Download and save media items

php artisan process:downloads

List subs you are watching

php artisan sub:list

Add a new subreddit to crawl

php artisan sub:add someSubName

Remove a subreddit from your watch list. Note: this does not remove already downloaded files.

php artisan sub:delete someSubName