Subreddit YouTube playlister
I recommend using pip and virtualenv.
To clone and run flock for the first time, follow these steps:
- git clone https://github.com/rblstr/flock.git && cd flock
- virtualenv --no-site-packages .
- . bin/activate
- pip install -r requirements.txt
- python flock.py
"/" - GET
Returns subreddit submission form and YouTube playlist if subreddits have been given.
Arguments:
- subreddits - REQUIRED - '+' seperated list of subreddits
- sort - OPTIONAL - What Reddit sort function to use.
- Default: top
- Supported: top, hot
- t - OPTIONAL - Select time range for items.
- Default: week
- Supported: day, week, month, year, all
- limit - OPTIONAL - Set a limit on the maximum number of items in the playlist.
- Default: 100
- Supported: Any number in the range 0 < t <= 100