FreePornVideos.xxx Scraper
A Python tool for scraping video URLs from FreePornVideos.xxx with anti-bot protection using Camoufox.
Features
- Uses Camoufox for anti-fingerprinting and bot detection avoidance
- Modular architecture for easy maintenance and extension
- Typer-based CLI with rich error handling and progress indicators
- Extracts direct video URLs (preferring 720p quality when available)
- Follows redirects to get the final video URL
- Saves results to an output file
- Tracks and logs failed URLs
Installation
This project uses Rye for dependency management.
# Clone the repository
git clone https://github.com/yourusername/freepornvideos-scraper.git
cd freepornvideos-scraper
# Install dependencies with Rye
rye sync
Usage
Command Line Interface
The script provides a Typer-based CLI with various options:
# Basic usage (will prompt for input file)
python -m freepornvideos_scraper
# Specify input and output files
python -m freepornvideos_scraper --input urls.txt --output results.txt
# Short form options
python -m freepornvideos_scraper -i urls.txt -o results.txt
# Run in headless mode (no browser UI)
python -m freepornvideos_scraper -i urls.txt --headless
# Route traffic through Tor (requires Tor running on port 9050)
python -m freepornvideos_scraper -i urls.txt --tor
Input File Format
Create a text file with one FreePornVideos.xxx URL per line:
https://www.freepornvideos.xxx/videos/xxxxx/video-title-1/
https://www.freepornvideos.xxx/videos/yyyyy/video-title-2/
https://www.freepornvideos.xxx/videos/zzzzz/video-title-3/
How It Works
The script will:
- Load the URLs from the input file
- Visit each URL with Camoufox browser
- Click the play button on each page to load the video
- Extract the direct video URL (preferring 720p quality)
- Follow redirects to get the final video URL
- Save the results to the specified output file
- Create a separate file for any failed URLs
Project Structure
The project has a modular architecture:
src/freepornvideos_scraper/
├── __init__.py
├── __main__.py # Package entry point
├── scraper.py # Main Typer CLI implementation
├── test_import.py # Test utility
└── lib/ # Core components
├── __init__.py
├── base.py # Abstract base scraper class
├── scrapers/ # Site-specific scrapers
│ ├── __init__.py
│ └── freevideos.py # FreePornVideos implementation
└── utils/ # Utility classes
├── __init__.py
├── camoufox_handler.py # Camoufox browser wrapper
└── spoofing_config.py # Anti-fingerprinting settings
Requirements
- Python 3.8+
- camoufox (for browser automation with anti-fingerprinting)
- prompt-toolkit (for path completion in the CLI)
- requests (for following redirects)
- typer (for CLI interface)
License
GPL-3.0
Metadata
Release files for camoufox-scraper 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| camoufox_scraper-0.13.0.tar.gz | 23.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| camoufox_scraper-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.7 kB
Release files / camoufox_scraper-0.13.0.tar.gz
| Download URL | camoufox_scraper-0.13.0.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
217dd3cf7019cf61b0e851f58aaed9bf28ec5088aa4d3d1f37ca7f3b460f7aaf
|
|
BLAKE2b-256 checksum How to use checksums |
6e912c924a0f22b82a19e38059cf7615e952f12d76cd977af605c1dfdb37d6d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.8
|
Release files / camoufox_scraper-0.13.0-py3-none-any.whl
| Download URL | camoufox_scraper-0.13.0-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4802e3bd4ee5723bc402f250652baf40f0a99a653c827b5cd240efcf128bd02
|
|
BLAKE2b-256 checksum How to use checksums |
dc384b85393e1d4b6124aaba7a7a3c6f72a96a7b0e01f341f4e25fc2b4fba9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.8
|
Security for camoufox-scraper 0.13.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.