download problem
After using the ofscraper script, an error occurred:
D:\develop\Python\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique.
parser = self.make_parser(ctx)
D:\develop\Python\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique.
parser = self.make_parser(ctx)
D:\develop\Python\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique.
rest = super().parse_args(ctx, args)
D:\develop\Python\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique.
rest = super().parse_args(ctx, args)
Traceback (most recent call last):
File "
What version of python do you have?
What version of python do you have?
python 3.13.3
I've reinstalled python (stable 3.13.3) as also ofscraper (3.12.9) but get the same error at start after I needed to do a fresh windows 11 installation.
`PS C:\WINDOWS\system32> ofscraper C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique. parser = self.make_parser(ctx) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique. parser = self.make_parser(ctx) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique. rest = super().parse_args(ctx, args) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique. rest = super().parse_args(ctx, args) [logs.print_system_log:52] Log Level: DEBUG logs.py:52 [logs.print_system_log:53] version: 3.12.9 logs.py:53 [logs.print_system_log:55] config path: C:\Users\your_username.config\ofscraper\config.json logs.py:55 [logs.print_system_log:56] profile path: C:\Users\your_username.config\ofscraper\main_profile logs.py:56 [logs.print_system_log:57] log folder: C:\Users\your_username.config\ofscraper\logging logs.py:57 [logs.print_latest_version:94] OF-Scraper up to date logs.py:94
_______ _______ _______ _______ _______ _______ _______ _______ _______
( ___ )( ____ \ ( ____ \( ____ \( ____ )( ___ )( ____ )( ____ \( ____ )
| ( ) || ( \/ | ( \/| ( \/| ( )|| ( ) || ( )|| ( \/| ( )|
| | | || (__ _____ | (_____ | | | (____)|| (___) || (____)|| (__ | (____)|
| | | || __) (_____)(_____ )| | | __)| ___ || _____)| __) | __)
| | | || ( ) || | | (\ ( | ( ) || ( | ( | (\ (
| (___) || ) /\____) || (____/\| ) \ \__| ) ( || ) | (____/\| ) \ \__
(_______)|/ \_______)(_______/|/ \__/|/ \||/ (_______/|/ \__/
[close.sendCloseMessage:49] Finished Script close.py:49 PS C:\WINDOWS\system32>`
I've reinstalled python (stable 3.13.3) as also ofscraper (3.12.9) but get the same error at start after I needed to do a fresh windows 11 installation.
`PS C:\WINDOWS\system32> ofscraper C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique. parser = self.make_parser(ctx) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1193: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique. parser = self.make_parser(ctx) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -fl is used more than once. Remove its duplicate as parameters should be unique. rest = super().parse_args(ctx, args) C:\Users\XXX\pipx\venvs\ofscraper\Lib\site-packages\click\core.py:1786: UserWarning: The parameter -ds is used more than once. Remove its duplicate as parameters should be unique. rest = super().parse_args(ctx, args) [logs.print_system_log:52] Log Level: DEBUG logs.py:52 [logs.print_system_log:53] version: 3.12.9 logs.py:53 [logs.print_system_log:55] config path: C:\Users\your_username.config\ofscraper\config.json logs.py:55 [logs.print_system_log:56] profile path: C:\Users\your_username.config\ofscraper\main_profile logs.py:56 [logs.print_system_log:57] log folder: C:\Users\your_username.config\ofscraper\logging logs.py:57 [logs.print_latest_version:94] OF-Scraper up to date logs.py:94
_______ _______ _______ _______ _______ _______ _______ _______ _______ ( ___ )( ____ \ ( ____ \( ____ \( ____ )( ___ )( ____ )( ____ \( ____ ) | ( ) || ( \/ | ( \/| ( \/| ( )|| ( ) || ( )|| ( \/| ( )| | | | || (__ _____ | (_____ | | | (____)|| (___) || (____)|| (__ | (____)| | | | || __) (_____)(_____ )| | | __)| ___ || _____)| __) | __) | | | || ( ) || | | (\ ( | ( ) || ( | ( | (\ ( | (___) || ) /\____) || (____/\| ) \ \__| ) ( || ) | (____/\| ) \ \__ (_______)|/ \_______)(_______/|/ \__/|/ \||/ (_______/|/ \__/[close.sendCloseMessage:49] Finished Script close.py:49 PS C:\WINDOWS\system32>`
I faced the same error as you and managed to work around it after checking the logs at C:\Users\your_username\.config\ofscraper\logging.
There was this error in my log
ModuleNotFoundError: No module named 'aiolimiter.compat'
2025-05-20 22:46:51:[run.main:23] No module named 'aiolimiter.compat'
I fixed it by referencing the issue 484.
The following were my steps for the fix:
- Use Python 3.11.6
- Install pipx and reinstall ofscraper as per instructions
- Install
aiolimiter==1.1.0
pipx inject ofscraper aiolimiter==1.1.0 --force
It could be related to your issue.
You're my superhero. :-D Thanks alot
Following your method I can use the script, but I met another problem and need your help, Thank you!
Set the auth.json file format like this:
{
"sess": "",
"auth_id": "",
"auth_uid": "",
"user_agent": "",
"x-bc": "",
"app-token": ""
}
In your document the format is:
{
"auth": {
"sess": "",
"auth_id": "",
"auth_uniq_": "",
"user_agent": "",
"x-bc": ""
}
}
This info is only printed to console
{ "sess": "", "auth_id": "", "auth_uid": "", "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36", "x-bc": "", "app-token": "" } Dynamic Rule: datawhores
==============================================================
Double check to make sure the [x-bc,user-agent] info is correct
Double check to make sure the [sess, auth_id] info is correct
If 2fa is enabled double check that [auth_uid_] is set and not the same as auth_id
Double check to make sure dynamic rule is as desired
================================================
my rules are out of date, try one of the other ones
Where can I modify the rule? What other rules are there?