OF-Scraper icon indicating copy to clipboard operation
OF-Scraper copied to clipboard

Switching Profile Does Not Work After a Run

Open basketballhead6 opened this issue 5 months ago • 0 comments

Describe the bug

If you run the script once and want to switch profiles, it will not work and just loop back to the main menu when you try and get an updated model list on the new profile.

To Reproduce

  1. Run the scraper using a profile once
  2. On the next run switch to a different profile
  3. Select no to redownload all files
  4. Select No to the download + scrape paid areas
  5. Select 'Yes update selection' under the reset username section

Expected behavior

The script will pull the new models assiciated with that profile.

Screenshots/Logs

Image

https://privatebin.io/?3366570da955bdd1#Eyxy3399tBvmREYeZUPVTmokuAvWb3AVaVmmZLf3xuEe

{
    "main_profile": "main_profile",
    "metadata": "{configpath}/{profile}/.data/{model_username}_{model_id}",
    "discord": "",
    "file_options": {
        "save_location": "G:\\Personal\\Content-OF",
        "dir_format": "{model_username}/{responsetype}/{value}/{mediatype}/",
        "file_format": "{date}-{filename}.{ext}",
        "textlength": 0,
        "space_replacer": " ",
        "date": "YYYY-MM-DD",
        "text_type_default": "letter",
        "truncation_default": true
    },
    "download_options": {
        "filter": [
            "Images",
            "Audios",
            "Videos"
        ],
        "auto_resume": true,
        "system_free_min": 0,
        "max_post_count": 0
    },
    "binary_options": {
        "ffmpeg": "C:\\Users\\user\\.config\\ofscraper\\ffmpeg.exe"
    },
    "cdm_options": {
        "private-key": "C:\\Users\\user\\.config\\ofscraper\\private_keys\\private_key.pem",
        "client-id": "C:\\Users\\user\\.config\\ofscraper\\private_keys\\client_id.bin",
        "key-mode-default": "manual"
    },
    "performance_options": {
        "download_sems": 6,
        "download_limit": 0
    },
    "content_filter_options": {
        "block_ads": true,
        "file_size_max": 0,
        "file_size_min": 0,
        "length_max": null,
        "length_min": null
    },
    "advanced_options": {
        "dynamic-mode-default": "generic",
        "downloadbars": true,
        "cache-mode": "sqlite",
        "rotate_logs": false,
        "sanitize_text": false,
        "temp_dir": null,
        "remove_hash_match": false,
        "infinite_loop_action_mode": false,
        "enable_auto_after": true,
        "default_user_list": "main",
        "default_black_list": "",
        "logs_expire_time": null,
        "ssl_verify": false,
        "env_files": ""
    },
    "script_options": {
        "after_action_script": null,
        "post_script": null,
        "naming_script": null,
        "after_download_script": null,
        "skip_download_script": null
    },
    "responsetype": {
        "timeline": "posts",
        "message": "messages",
        "archived": "archived",
        "paid": "messages",
        "stories": "stories",
        "highlights": "stories",
        "profile": "profile",
        "pinned": "posts",
        "streams": "Streams"
    }
}

System Info

  • OS: Windows 11
  • Browser: Firefox
  • Version: 3.13.7
  • uv install

basketballhead6 avatar Jul 16 '25 04:07 basketballhead6