Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Conversation

@ticet11
Copy link

@ticet11 ticet11 commented Sep 5, 2021

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?

the txzips.json file and input city and county appropriate for the zip.
Also will either use 'TX' or 'Texas' for the state for more variety.
Removed cities.json file.
Using txzips.
@andria-dev
Copy link
Collaborator

@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.

@LakesideMiners
Copy link
Collaborator

please do this in the API repo. thanks!

@ticet11
Copy link
Author

ticet11 commented Sep 8, 2021

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants