datawhores / OF-Scraper

A completely revamped and redesigned fork, reimagined from scratch based on the original onlyfans-scraper
MIT License
701 stars 59 forks source link

No accounts found when using trying to scrape #449

Closed pirate-cpu closed 3 months ago

pirate-cpu commented 3 months ago

Describe the bug

I'm unable to scrape accounts in a userlist named "best" when using the following ofscraper --action download -ts --user-list best --posts all. The program returns "No accounts found". I have tested this with other lists different variants of the --user-list flag and the same error occurs.

To Reproduce

Enter the command ofscraper --action download -ts --user-list userlist_name --posts all Receive the the output "No accounts found"

Expected behavior

I expected the program to scrape the accounts within the userlist.

Screenshots/Logs

Private Bin

Config

    "main_profile": "main_profile",
    "metadata": "{save_location}/.data/{model_username}_{model_id}",
    "discord": "",
    "file_options": {
        "save_location": "/home/ofscraper/data/ofscraper",
        "dir_format": "{model_username}/{responsetype}/{mediatype}/",
        "file_format": "{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": "/home/ofscraper/.config/ofscraper/bin/ffmpeg"
    },
    "cdm_options": {
        "private-key": "/home/ofscraper/.config/ofscraper/drm_keys/private_key.pem",
        "client-id": "/home/ofscraper/.config/ofscraper/drm_keys/client_id.bin",
        "key-mode-default": "manual",
        "keydb_api": ""
    },
    "performance_options": {
        "download_sems": 6,
        "thread_count": 2,
        "download_limit": 0
    },
    "content_filter_options": {
        "block_ads": false,
        "file_size_max": 0,
        "file_size_min": 0,
        "length_max": null,
        "length_min": null
    },
    "advanced_options": {
        "code-execution": false,
        "dynamic-mode-default": "datawhores",
        "backend": "aio",
        "downloadbars": false,
        "cache-mode": "sqlite",
        "appendlog": true,
        "custom_values": null,
        "sanitize_text": false,
        "temp_dir": null,
        "remove_hash_match": null,
        "infinite_loop_action_mode": false,
        "enable_auto_after": true,
        "default_user_list": "main",
        "default_black_list": ""
    },
    "scripts_options": {
        "post_download_script": null,
        "post_script": null
    },
    "responsetype": {
        "timeline": "Posts",
        "message": "Messages",
        "archived": "Archived",
        "paid": "Messages",
        "stories": "Stories",
        "highlights": "Stories",
        "profile": "Profile",
        "pinned": "Posts",
        "streams": "Streams"
    },
    "overwrites": {
        "audios": {},
        "videos": {},
        "images": {},
        "text": {}
    }
}

System Info

ZOMGsheikh commented 3 months ago

have you tried upgrading the scraper? Last night 3.11.2 was not working, 3.11.4 has made the script working as expected.

pirate-cpu commented 3 months ago

I get the same error after updating.

pirate-cpu commented 3 months ago

Updating to version 3.11.5 fixes this issue.

ZOMGsheikh commented 3 months ago

Curious, how are you using it in docker? Do you run commands through a terminal in portainer and dockage?

pirate-cpu commented 3 months ago

I'm using Container Manager in DSM for Synology. I'm able to run the commands if I ssh into the machine.