Last active
October 8, 2019 13:19
-
-
Save Integralist/831298624d7171b155dd58b45341c576 to your computer and use it in GitHub Desktop.
[Develop Streamlink Locally] #streamlink #video #download #stream
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment