OF-Scraper
  • Welcome
  • Requirements
  • Install
    • Pre-Install Guides
      • Linux
      • Windows
      • Mac
    • PIPX Install
    • PIP Install
    • Binary Releases
    • Docker
    • Release Info
    • Managing Multiple Python Versions
  • Getting Started and Settings
    • Config Options
      • Config Location
      • General Options
      • File Output Options
        • Placeholders
        • Responsetype Placeholders
      • Download Options
        • Download Toggles
        • Media Filtering Options
        • Advanced Download Options
      • Setting metadata path
      • Binaries Options
      • CDM Options
      • Performance Options
        • Values to Pick
      • Script Options
      • Advanced config options
        • Changing Const Values
        • Mediatype overwrites
    • Depreciated Options
    • Auth
    • Controlling Output/Logs
    • Migrating from Digitalcriminal's script
  • Using the Scraper
    • Using Prompts
      • Old Menu
      • Page 2
    • Username selection or Fuzzy Search
    • Basic Automation with command-line
      • Basic Actions
        • Liking/Unliking Post
        • Downloading Content
          • Downloading Text Files
          • Downloading Purchases From Deleted Models
        • Multiple Actions
      • Model Filtering/Sorting
        • Price Filtering/Sort
      • Advanced Args
      • Scripting tips
      • Enable label scan
    • Recipes
      • Adding Proxy
      • Redownload Deleted Downloads
  • Content Check Modes
    • Table Columns
    • Table Management
      • Pre 3.10.7 filtering
  • Scraping Individual Posts or Media
  • Metadata
    • Schema
    • Creating Metadata
    • Metadata location
  • CDM Setup
    • CDM issues
  • FAQ/Common Issues
    • Page 1
  • Command Reference
    • Shared Options
      • General Program Options
        • Program Options
        • Logging Options
        • Filename Modification Options
        • Media Filters Options
        • Download Options
        • Advanced Program Options
      • Shared Scrape and Metadata Check Mode Options
        • User List Filter Options
          • Advanced User Filters
        • User Selection Options
        • Model Sorting & Processing Options
        • Content Options
        • Automation Options
        • Advanced Search & Processing Options
    • Main Scraper Options
    • Metadata Check Mode Options
    • Content Check Modes Options
    • Manual Mode Options
  • Request Change to Doc
  • Testing
Powered by GitBook
On this page
  • Volumes
  • Docker Run
  • Docker Compose
  • Images
  • Older Versions
  1. Install

Docker

PreviousBinary ReleasesNextRelease Info

Last updated 1 year ago


Volumes

If you opt for the auto download feature when installing mp4decrypt or ffmpeg, the binaries will be stored in /root/.config/ofscraper/bin within the Docker image

If manually downloading binaries please mount the linux based binaries

host
docker
use
required

anypath

/home/ofscraper/.config/ofscraper

store config

True

anypath

anypath

data storage

False


Docker Run

docker run  -it --rm --name=ofscraper -v anypath:/home/ofscraper/.config/ ghcr.io/datawhores/of-scraper:main ofscraper {args}


Docker Compose

make sure to install ffmpeg and mp4decrypt to your local system and add to the volumes in the compose file.

version: "3"
services:
    of-scraper:
        stdin_open: true
        tty: true
        container_name: ofscraper
        volumes:
            - /usr/bin/ffmpeg:/usr/bin/ffmpeg
            - /usr/local/bin/mp4decrypt:/usr/local/bin/mp4decrypt
            - ./config/:/home/ofscraper/.config/
        image: ghcr.io/datawhores/of-scraper:main
        command: ofscraper

To run the scraper manually use: docker exec ofscraper ofscraper {args}


Images

Syntax
Example
What it is

latest

latest

get the latest stable release

branch-commitshort

main-9e54ed3

container for specific commit

branch

main

latest commits for a specific branch

version number

2.4.3

specific stable release

Older Versions

The Docker file was updated to enhance host permissions support.

If you're using an older version, you'll need to adjust your Docker run or compose file.

For versions equal to or older than this commit:

docker run  -it --rm --name=ofscraper -v anypath:/root/ofscraper/.config/ ghcr.io/datawhores/of-scraper:main {args}

You can determine if the command has already passed 'ofscraper' in the entrypoint by checking for this sequence: 'ofscraper' (options include: 'post_check', 'msg_check', 'paid_check', 'story_check', 'manual').

Binaries Options
Docker
Images on Docker.com
Logo
GitHubGitHub
Images on ghcr.io
fix trunication issue · datawhores/OF-Scraper@b06e9caGitHub
Logo
Logo