dependabot[bot] 4c52180f84 Update soupsieve requirement from <=2.0 to <3.0 (#87)
Updates the requirements on [soupsieve](https://github.com/facelessuser/soupsieve) to permit the latest version.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](https://github.com/facelessuser/soupsieve/compare/0.4.0...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-01 13:14:34 -04:00
2020-08-16 19:34:09 -04:00
2019-10-04 21:06:53 -04:00
2021-04-04 10:35:19 -04:00
2020-08-15 20:55:10 -04:00
2019-10-17 22:50:52 -04:00
2021-05-01 13:13:29 -04:00
2019-10-17 22:50:52 -04:00
2019-10-17 22:50:52 -04:00

RFD

This is a CLI utility that allows you to view Redflagdeals.com on the command line.

PyPI version Dependabot Downloads

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

All commands open up in a terminal pager.

View Hot Deals

rfd threads

View and Sort Hot Deals

rfd threads --sort-by score

To view and sort multiple pages, use --pages:

rfd threads --sort-by views --pages 10
rfd search 'pizza'

Regular expressions can be used for search.

rfd search '(coffee|starbucks)' --pages 10 --sort-by views

View Posts

It's possible to view an entire post and all comments by running:

rfd posts https://forums.redflagdeals.com/kobo-vs-kindle-2396227/

This allows for easy grepping and searching for desired expressions.

Shell Completion

Shell completion can be enabled if using bash or zsh.

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%