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

Code Quality #17

Open laughingclouds opened 2 years ago

laughingclouds commented 2 years ago

My code probably smells.

There are probably a bunch of things I can do to change this. We could refactor code with python dataclasses for starters.

laughingclouds commented 2 years ago

Note for self, so that I can safely forget about this. From what I know, dataclasses in python are the closest to "structs" in C/C++

laughingclouds commented 2 years ago

One more thing to note; probably the most important, the thing more important to code is planning. This project was obviously made with minimal planning. If you ever re-write it, spend more time on planning.