The configs for the requests are stored as global variables and through them
Global Variables
Instead of using these global variables, it would be more convenient for the users and more maintainable for the maintainers if there was a WikiConfigs class to store configurations like:
- user agent
- requests timeout
- request proxies
- rate limiting
- language etc.
It could also combine related functions like set_lang(), set_user_agent(), and set_rate_limiting()
The configs for the requests are stored as global variables and through them
Global Variables
Instead of using these global variables, it would be more convenient for the users and more maintainable for the maintainers if there was a
WikiConfigsclass to store configurations like:It could also combine related functions like
set_lang(),set_user_agent(), andset_rate_limiting()