Filter Twitch streams that are online from follows text file.
Project description
Streamer Retriever
Stream Retriever allows you to search if a stream is online. It also allows you to start playing the stream or even its vod.
Usage
streamretriever -hor--helpto list all possible argumentsstreamretriever -vor--versionto show installed streamretriever versionstreamretriever -cor--checkshow follows that are streamingstreamretriever -lor--linklinks of follows that are streamingstreamretriever -por--playshow online streams and choose one to playstreamretriever -dor--vodchoose vod to playstreamretriever -wor--webuse default webbrowser regardless of your configurations, use with-por-dstreamretriever -mor--mobilemobile twitch links of follows that are streaming, works also with-pand-dstreamretriever -tor--twitch-followsprint your follows from twitch
Check if Your Follows are Online
Output names of streams that are online.
streamretriever -c
streamretriever --check
Show and Start Playing
Use the option -p or --play to see who is online and choose if you want to
start playing a stream.
streamretriever -p
streamretriever --play
Show Vods and Start Playing
The -d or --vod allows you to chooce a vod from your followed streamer and
start playing it.
streamretriever -d
streamretriever --vod
Additional Options for Playing
You can use the additional -m or --mobile to use twitch mobile link. To
force use default webbrowser regardless of your configurations us -w or
--web options. Or you can use bot optional playing arguments.
streamretriever -pmw
streamretriever --play --web --mobile
The additional options also work with vod option.
streamretriever -dwm
streamretriever --web --vod --mobile
Requirements
- Python 3.8 or newer
- In Ubuntu
sudo apt install python3 - In Windows install Python 3
- You should consider selecting
Add Python to PATHduring install
- You should consider selecting
- In Ubuntu
Install
- Install Python 3 from the Requirements
- Run
pip install streamretrieverto install from PyPI - Run
streamretriever -vto show installed streamretriever version number - Create your streamer list Configuration
Configuration
Add "streamer name" into your follows csv file. Separate each streamer with a comma.
Linux: ~/.config/StreamRetriever/follows.csv
Windows: %USERPROFILE%\Documents\StreamRetriever\follows.csv
The "streamer name" can be found at the end of a Twitch link:
https://www.twitch.tv/<streamer_name>
follows.csv
esamarathon,gamesdonequick,esl_csgo
CLI Play
Add your player of choice to CLI configuration file.
Linux: ~/.config/StreamRetriever/cli_conf.json
Windows %USERPROFILE%\Documents\StreamRetriever\cli_conf.json
cli.json
{"player": ["/usr/bin/firefox", "--private-window"]}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Streamer Retriever-0.20.1.tar.gz.
File metadata
- Download URL: Streamer Retriever-0.20.1.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
131fad3a0381cd5aafcb9f9e39dd4cbb263a0d25c5f674e496fefb658616fc7a
|
|
| MD5 |
dc5a9711548dfc59adb357f1816ac537
|
|
| BLAKE2b-256 |
965449fa93c6489f53a79a3f095c448109e83ecd8eb59ca1a0e64be6d9ce3030
|
File details
Details for the file Streamer_Retriever-0.20.1-py3-none-any.whl.
File metadata
- Download URL: Streamer_Retriever-0.20.1-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ec6b572f145d3577bde4d1edb36d961a6a5e83c5349cf1e425ba701b7079ce1
|
|
| MD5 |
b69b3573dff97a1cf1964906a71877ee
|
|
| BLAKE2b-256 |
3ce8be0e096b45730c5bd2f1b46cf5a20941356241de24e257f4429821125a7f
|