Move autentication settings from a global scope to a per config scope #98
Closed
NTFSvolume
started this conversation in
Ideas
Replies: 2 comments
-
I like the idea of still being able to have a global authentication file. I'll take a look at implementing this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Opened a PR to add this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically, each config will have their own
authentication.yaml
file.When you choose a config, you will also change the autentication file to use for the current run.
Recently simpcity enabled scraping on the website without login in to reduce server load. However, a few threads still require you to be logged in to access them. With this change, you would be able to use a config with no login information for most cases. If you want to download from a restricted thread, just switch configs.
To remain backwards compatible, it could be implemented as an override file. Values present in the config specific
authentication.yaml
would override the globalauthentication.yaml
Beta Was this translation helpful? Give feedback.
All reactions