Skip to content

Filtering is Broken #558

@basketballhead6

Description

@basketballhead6

Describe the bug

When using filters, this breaks the script. You do your filter criteria, return to the menu, choose who to scrape, hit enter and then the script does not progress any further.

This also seems to have an impact on swithcing profiles as well as when you get to the download section on a new profile, it just takes you back to the main menu.

To Reproduce

  1. Start Script
  2. Get to model selection screen
  3. Apply filter criteria
  4. Return to the model selection menu
  5. Choose who to scrape
  6. Hit enter

Expected behavior

Script will start to download the profiels of selected models.

Screenshots/Logs

Image

Config

{
    "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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions