jbsparrow / CyberDropDownloader

Bulk Gallery Downloader for Cyberdrop.me and Other Sites
GNU General Public License v3.0
108 stars 7 forks source link

Move autentication settings from a global scope to a per config scope #101

Closed jbsparrow closed 17 hours ago

jbsparrow commented 1 day ago

Discussed in https://github.com/jbsparrow/CyberDropDownloader/discussions/98

Originally posted by **NTFSvolume** September 17, 2024 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 global `authentication.yaml`