Open ticet11 opened 3 years ago
@ticet11 This might be more useful in the AbBOT-api repository since we're working towards replacing the data.py with a call to an AbBOT-api server.
It also seems like you're using your own formatter. When contributing, please use yapf
. It is in the requirements.txt
so you can install it easily an run it with yapf -ri .
before committing.
please do this in the API repo. thanks!
@LakesideMiners Okay, sorry! Someone else got a different set up merged and the issue for dynamic zips was closed, so I thought we were over it. I'll get it in tonight.
It looked like there was a zip code file added that wasn't being used. I added my own zip code file with a bit more data that may be able to contribute to a more believable bot later or now by someone smarter than me. Using some simple code to get a random zip code from the file and then use the city and county that belong with that zip when the bot fills out the form. Bot will also randomly use either 'TX' or 'Texas' for the state text input, perhaps making the bot less likely to be filtered?