Spaces:
Sleeping
Sleeping
ADM PURCHASING TOOLS
A browser-based control panel for the AdultDVDMarketplace automation bot.
What it does
- Opens a dashboard in your browser
- Lets you enter username, password, studio name or studio URL, and minimum price
- Starts the automation in the background
- Shows live logs and progress
- Lets you download the latest CSV when the run finishes
Quick start
Windows
- Install Python 3 from https://www.python.org/downloads/
- Double-click
run_windows.bat - Your browser opens to
http://localhost:5000 - Enter your login details and studio
- Click
Start Bot - Watch the live logs and click
Download Last CSV
The first launch installs the Python dependencies and Playwright Chromium, so it may take a few minutes.
Mac
- Install Python 3 from https://www.python.org/downloads/
- Double-click
run_mac.command - Your browser opens to
http://localhost:5000 - Enter your login details and studio
- Click
Start Bot - Download the CSV when the job completes
The first launch installs the Python dependencies and Playwright Chromium, so it may take a few minutes.
Manual run
If you want to start it from a terminal:
python -m venv .venv
. .venv\Scripts\Activate.ps1
pip install -r requirements.txt
.venv\Scripts\playwright.exe install chromium
python web_app.py
Then open:
http://localhost:5000
Dashboard fields
- Username
- Password
- Studio Name or URL
- Minimum Price
Dashboard buttons
- Start Bot
- Stop Bot
- Download Last CSV
- Save Settings
CSV output
The exported CSV uses these columns:
- Title
- UPC
- Price
- Studio
- ScrapedAt
How it works
The web dashboard reuses the existing automation modules instead of replacing them:
auth_handler.pyhandles loginstudio_navigator.pyopens Top Studios, View All Studios, and the target studiolisting_scraper.pyscans the studio listing and paginates resultsproduct_scraper.pyextracts product detailsservices/exporter.pywrites the CSV file
Saved settings
The dashboard can save the last entered values to config.json in the project folder.
Legacy CLI mode
The original command-line bot is still available through main.py.