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:
uv tool install ofscraper --forceDevelopment Release
Pre-release
To install the latest pre-release version:
uv tool install --prerelease allow ofscraper --forceDevelopment
To install the very latest development version directly from the GitHub repository:
uv tool install git+https://github.com/datawhores/OF-Scraper.git --forceSpecific Version of Script
To install a specific stable or pre-release version of the script:
uv tool install --prerelease allow ofscraper==<version>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.
# Example: Install a specific script version with Python 3.12
uv tool install --prerelease allow ofscraper==<version> --python 3.12Including 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:
uv tool uninstall ofscraper # Recommended first step
uv tool install ofscraper --forceTo upgrade ofscraper to the latest prerelease or development version:
uv tool uninstall ofscraper # Recommended first step
uv tool install --prerelease allow ofscraper --forceLast updated