Skip to content

Instantly share code, notes, and snippets.

@datawhores
Last active June 18, 2024 12:16
Show Gist options
  • Save datawhores/82b51e1463c2fea8286e0d41cdc35d5c to your computer and use it in GitHub Desktop.
Save datawhores/82b51e1463c2fea8286e0d41cdc35d5c to your computer and use it in GitHub Desktop.

Options 1

use this to provide your own values for dynamic rules

You must include these keys in the neseted dictionary

"static_param"
"suffix"
"prefix"
"checksum_indexes"
"checksum_constant"

Steps

1. set dynamic-mode-default as manual

2. Set DYNAMIC_RULE in custom_values

Example

 "advanced_options": {
        "code-execution": true,
        "dynamic-mode-default": "manual",
        "backend": "aio",
        "downloadbars": false,
        "cache-mode": "sqlite",
        "appendlog": false,
        "custom_values": {
        "DYNAMIC_RULE":{
            "static_param": "RPnq8UadKceN7JNbeh2ApmUxM0A2nU9y",
            "start": "24650",
            "end": "666078a0",
            "checksum_constant": 13,
            "checksum_indexes": [4,5,7,9,9,11,13,17,18,19,23,23,23,24,25,26,27,27,28,28,28,28,28,29,30,32,32,33,33,34,34,38],
            "app_token": "33d57ade8c02dbc5a333db99ff9ae26a",
            "remove_headers": ["user_id"],
            "revision": "202404181902-08205f45c3",
            "is_current": null,
            "format": "24650:{}:{:x}:666078a0",
            "prefix": "24650",
            "suffix": "666078a0"
        }
    
    
    },
    

Options 2

Use this to provide a url to be read

The response must be a json, and the follow keys must be provided

"static_param"
"suffix"
"prefix"
"checksum_indexes"
"checksum_constant"

Steps

1. set dynamic-mode-default as generic

2. Set a valid url for DYNAMIC_GENERIC_URL

Example

 "advanced_options": {
        "code-execution": true,
        "dynamic-mode-default": "generic",
        "backend": "aio",
        "downloadbars": false,
        "cache-mode": "sqlite",
        "appendlog": false,
        "custom_values": {
        "DYNAMIC_GENERIC_URL":"https://raw.githubusercontent.com/datawhores/onlyfans-dynamic-rules/main/dynamicRules.json",
      

    }
@jp1151419
Copy link

I tried Option 1 first but the provided custom value didn't work with 87ee763. Option 2 did work right away though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment