🎥 A script to show TMDB movie/TV series information in terminal
Title: tmdb-movie-informer
Description: look up movie/TV series information from TMDb
Author: KrazyCavin
Tags: CLI, python, script
Show movie or TV series information, using API from TMDB. It’s really fast but it needs to register an API KEY first. Then put API KEY inside config.ini file
usage: tmdb [-h] [-y [YEAR]] [-t] [-d] searchtext [searchtext ...]
positional arguments:
searchtext search text
optional arguments:
-h, --help show this help message and exit
-y [YEAR], --year [YEAR]
year of release
-t, --tv search TV show
-d, --debug active debug log
With -d, a debug log file tmdb.log will be created in script-run-directory.
+————————-+——————+——————+——————+————————-+—————————————————————+
| TITLE | DATE | GENRE | LENGTH | RATING | LINK |
+=================+============+============+============+=================+==========================================+
| Rogue One: A | 2016-12-14 | Action, | 134 | TMDB: 7.4(848) | https://www.themoviedb.org/movie/330459 |
| Star Wars Story | | Adventure, | | IMDB:8.2 | http://www.imdb.com/title/tt3748528 |
| | | Sci-Fi | | (143,977) | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| The Rogue One: | 2016-12-15 | Animation, | 3 | TMDB: 0.0(0) | https://www.themoviedb.org/movie/431575 |
| A Star Wars Toy | | Short, | | | http://www.imdb.com/title/tt6343680 |
| Story | | Comedy | | | |
+————————-+——————+——————+——————+————————-+—————————————————————+
* List **Game of Thrones** information
```bash
~ $ ./tmdb game of thrones -t
Find 1 result
+-----------------+------------+------------+------------+-----------------+------------------------------------------+
| TITLE | DATE | GENRE | LENGTH | RATING | LINK |
+=================+============+============+============+=================+==========================================+
| Game of Thrones | 2011-04-17 | Sci-Fi & | [60] | TMDB: 7.8(1420) | https://www.themoviedb.org/tv/1399 |
| | | Fantasy, | | | |
| | | Action & | | | |
| | | Adventure, | | | |
| | | Drama | | | |
+-----------------+------------+------------+------------+-----------------+------------------------------------------+
+————————-+——————+——————+——————+————————-+—————————————————————+
| TITLE | DATE | GENRE | LENGTH | RATING | LINK |
+=================+============+============+============+=================+==========================================+
| S3E1 Nosedive | 2016-10-21 | | | TMDB: 7.667(3) | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| S3E2 Playtest | 2016-10-21 | | | TMDB: 7.333(3) | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| S3E3 Shut Up | 2016-10-21 | | | TMDB: 9.0(3) | |
| and Dance | | | | | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| S3E4 San | 2016-10-21 | | | TMDB: 8.0(4) | |
| Junipero | | | | | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| S3E5 Men | 2016-10-21 | | | TMDB: 7.5(2) | |
| Against Fire | | | | | |
+————————-+——————+——————+——————+————————-+—————————————————————+
| S3E6 Hated in | 2016-10-21 | | | TMDB: 9.0(2) | |
| the Nation | | | | | |
+————————-+——————+——————+——————+————————-+—————————————————————+
```