Closed PsychoSid closed 3 weeks ago
This is my config
{
"main_profile": "main_profile",
"metadata": "{configpath}/{profile}/.data/{model_username}_{model_id}",
"discord": "https://discord.com/api/webhooks/<url>",
"file_options": {
"save_location": "/home/seedit4me/ofs",
"dir_format": "{model_username}/",
"file_format": "{model_username}.{date}-{filename}-{text}.OnlyFans.{ext}",
"textlength": 0,
"space_replacer": " ",
"date": "YYYYMMDD",
"text_type_default": "letter",
"truncation_default": true
},
"download_options": {
"file_size_max": 0,
"file_size_min": 0,
"filter": [
"Images",
"Audios",
"Videos"
],
"auto_resume": false,
"system_free_min": 0,
"max_post_count": 0
},
"binary_options": {
"mp4decrypt": "/usr/local/bin/mp4decrypt",
"ffmpeg": "/usr/bin/ffmpeg"
},
"cdm_options": {
"private-key": null,
"client-id": null,
"key-mode-default": "keydb",
"keydb_api": "<hash>"
},
"performance_options": {
"download-sem": 6,
"threads": 8
},
"advanced_options": {
"code-execution": false,
"dynamic-mode-default": "deviint",
"backend": "aio",
"downloadbars": false,
"cache-mode": "sqlite",
"appendlog": true,
"custom_values": {
"FILE_COUNT_PLACEHOLDER": false
},
"sanitize_text": false,
"temp_dir": null,
"remove_hash_match": false,
"infinite_loop_action_mode": false,
"post_download_script": null,
"disable_auto_after": false,
"default_user_list": "main",
"default_black_list": ""
},
"responsetype": {
"timeline": "posts",
"message": "messages",
"archived": "archived",
"paid": "paid",
"stories": "stories",
"highlights": "highlights",
"profile": "profile",
"pinned": "archived"
},
"overwrites": {
"audios": {},
"videos": {},
"images": {},
"text": {}
}
}
The command I execute is
ofscraper -u <comma_list> --posts all --action download,like --discord LOW --output DEBUG --log DEBUG --original --downloadbars
This is still happening with 3.10.4 btw.
Okay I know what is wrong now
FILE_COUNT_PLACEHOLDER is not return a valid output when false but I don't think this option will be required any more in your case
I made some changes to the code, so that count only displays if "text", "postid", "post_id","ext" are the 'only' options used. As soon as another placeholder is used, it should remove the need for a count
Which is true for your config
Thank did it. Many thanks again.
Thank did it. Many thanks again.
Getting this with a new 3.10 update
System Info