aiolimiter dropped suport for the compat module, breaking this app
Describe the bug
On archlinux, when executing the script, it closes abruptly as the compat module was removed from aiolimiter 2 weeks ago
To Reproduce
Steps to reproduce the behavior:
- Install ofscraper via pipx
$ ofscraper- ofscraper will close itself
- See error in the log file
Expected behavior
Program works correctly.
Screenshots/Logs
Config
Deleted my config files, so there's nothing deviating from default configs.
System Info
- OS: arch linux
- Browser NA
- Version 3.12.9
- python
- installed via pipx
Additional context
compat was removed from aiolimiter v1.1.1 onwards, so using version 1.1.0 works
pipx inject ofscraper aiolimiter==1.1.0 --force
To be clear, for any end-users reading this, the error line in the log contains "No module named 'aiolimiter.compat'" and the workaround/fix is to run pipx inject ofscraper aiolimiter==1.1.0 --force
Worked perfectly on a fresh install of ofscraper on a brand new Macbook. I tried several different ways to install aiolimiter thinking that was the problem before finding out compat had been removed in 1.1.1.
Cheers
I made changes to aiolimiter to simplify it use
This should be fixed