motuzj / ct-teletext-viewer

Viewer for Česká Televize (ČT) teletext

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ČT Teletext Viewer

ČT Teletext Viewer allows you to view teletext content interactively in your terminal.

Installing

Linux

You can install this package on Linux by running this command in your terminal:

python3 -m pip install git+https://github.com/motuzj/ct-teletext-viewer

If you are getting error: externally-managed-environment, you can install it using pipx or alternatively you can try adding the --break-system-packages switch to the end of the command.

Windows

On Windows you can install this package using this command, be sure you have Python installed first:

python -m pip install git+https://github.com/motuzj/ct-teletext-viewer

Usage

Once you have successfully installed the ČT Teletext Viewer, you can lunch it at any time by executing ct-teletext (assuming you've correctly set the PATH). By default the program opens interactive mode. Here you can easily navigate through the teletext using numbers (for pages) or letters (for subpages).

Options

The following options are available:

  • -h / --help: Show this help message and exit.
  • -p PAGE / --page PAGE: Print a specific page and exit.
  • -s SUBPAGE / --subpage SUBPAGE: Print a specific page with subpage and exit, -p option is need for this.
  • -o FILE / --output FILE: Download whole JSON teletext for later use and exit.
  • -i FILE / --input FILE: Load JSON teletext from file.
  • -g WORD / --search WORD: Search for specific word in all pages and it's subpages (case-sensitive)
  • -n / --no-color: Disable color and formating in output.
  • -V / --verbose: Explain what is being done.
  • -v / --version: Show program's version number and exit.

Screenshots

Screenshot1 Screenshot2

About

Viewer for Česká Televize (ČT) teletext

License:MIT License


Languages

Language:Python 100.0%