Dave Gallant dbcdc01457 Cleanup CLI interface and allow for regular expressions in search (#68)
* Cleanup CLI interface and allow for regular expressions in search

* Put a cap on beautifulsoup4
2020-06-28 23:48:20 -04:00
2019-10-04 21:06:53 -04:00
2018-03-07 23:57:52 -05:00
2019-10-17 22:50:52 -04:00
2019-10-17 22:50:52 -04:00
2019-10-17 22:50:52 -04:00

RFD

Hot deals on the command line.

Build Status PyPI version Dependabot Total alerts Language grade: Python

screenshot

Install

pip install rfd

Usage

Usage: rfd [OPTIONS] COMMAND [ARGS]...

  CLI for https://forums.redflagdeals.com

Options:
  -v, --version
  --help         Show this message and exit.

Commands:
  posts    Display all posts in a thread.
  search   Search deals based on a regular expression.
  threads  Displays threads in the forum. Defaults to hot deals.

Examples

view hot deals

rfd threads

search for pizza

rfd search 'pizza'

Tab Completion

To enable:

bash

echo 'eval "$(_RFD_COMPLETE=source rfd)"' >> ~/.profile

zsh

echo 'eval "$(_RFD_COMPLETE=source_zsh rfd)"' >> ~/.zshrc
Description
view RedFlagDeals.com from the command line
Readme GPL-3.0 1.3 MiB
Languages
Python 93.9%
Makefile 6.1%