Tags: #streamlink #video #download #stream
# clone streamlink
git pull https://github.com/streamlink/streamlink.git
cd streamlink/
# install virtual environment
python3 -m venv venv
source venv/bin/activate
# update virtual environment
python -m pip install -U pip setuptools
pip install -U -r dev-requirements.txt
pip install -U -r docs-requirements.txt
# install dev streamlink
pip install -e .
# streamlink should now work with every change you make
streamlink
# you can also run the test files locally
pytest tests/
# or for a plugin
pytest tests/plugins/test_youtube.py