UV Install
Installing UV
Important: UV is a standalone binary. You do not need Python installed on your system to install UV. Once UV is installed, it can then manage and install Python versions for you. Installing UV with one of their official installation scripts is recommended for the most straightforward setup.
Installing/Upgrading OF-Scraper
Stable Release Install
To install the latest stable release of OF-Scraper:
Development Release
Pre-release
To install the latest pre-release version:
Development
To install the very latest development version directly from the GitHub repository:
Specific Version of Script
To install a specific stable or pre-release version of the script:
Replace <version>
with the exact version number you want to install (e.g., ofscraper==2.4.3
).
Specific Version of Python
You can specify the Python version uv
should use for the tool installation by appending --python <version_number>
to your command.
Including pyffmpeg (Optional)
pyffmpeg is a Python package that provides ffmpeg capabilities directly within Python by bundling its own ffmpeg binaries. You can accomplish this by appending [ffmpeg] to the install name when using uv tool install.
example: uv tool install ofscraper[ffmpeg] --force
Upgrade
It's recommended to explicitly uninstall ofscraper
before upgrading to avoid potential conflicts, as not doing so has caused problems for users previously.
To upgrade ofscraper
to the latest stable release:
To upgrade ofscraper
to the latest prerelease or development version:
Last updated