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
  • post_download_script
  • Data sent
  • post_script
  • Data Sent
  1. Getting Started and Settings
  2. Config Options

Script Options

post_download_script

A script that runs after an action for a user has completed

  • runs after each model is downloaded in the main scraper

  • runs after each model's metadata is processed in metadata mode

  • runs after each model is processed in manual mode

  • runs for each unique model, after the current cart is downloaded in check mode

Data sent

as a json file

  • username:username
  • model_id:model_id
  • media:media dictionary from api, with final_path added
  • posts:posts dictionary from api
  • userdata:a dictionary from users api

post_script

A script that runs after all actions for all users have completed

  • once all models are downloaded or liked in scrape mode

  • once all the post from manual mode are completed

  • After the current cart downloads are processed in check mode, and after the download-script is processed for each user

  • after all metadata for all users is processed in metadata mode

Data Sent

as a json file

  • users:A dictionary of user dictionaries retrieved from the user API
  • dir_format:string from  config
  • file_format:string from  config
  • metadata":string from  config
PreviousValues to PickNextAdvanced config options

Last updated 9 months ago