laughingclouds / Scrapia-World

A web scraper for scraping wuxiaworld. Written in python, using selenium and python cmd for an interactive shell experience with a command line utility to work with text along with a database to store information.
MIT License
2 stars 1 forks source link

dot-env dependency | password and email in json #3

Closed laughingclouds closed 2 years ago

laughingclouds commented 2 years ago

I intend to remove this dependency. Let's work it out in favor of...config files? Also, it seems the code doesn't use dot-env now =_=

But it's still being called. My mistake.

The password and a few other info/path(s) are better off in a single config file. Rather than a json. No particular reason for why, I just prefer .cfg now.

tl:dr; Clean the code

laughingclouds commented 2 years ago

vide fea295b20be738ad06428732a027d8824e53ee88 dot-env is not needed at all Also, having a single main config file is probably a better choice for this project. Next step is to make the read from the .cfg

laughingclouds commented 2 years ago

db70784303ed1597efdf0dbb9812c237c91024ee Done