[chore]: clean up

This commit is contained in:
Cullen Watson
2023-10-04 08:58:55 -05:00
parent f8c0dd766d
commit 51bde20c3c
8 changed files with 277 additions and 348 deletions

View File

@@ -38,7 +38,8 @@ def main():
parser.add_argument(
"-r",
"--radius",
"--sold-properties-radius",
dest="sold_properties_radius", # This makes sure the parsed argument is stored as radius_for_comps in args
type=float,
default=None,
help="Get comparable properties within _ (eg. 0.0) miles. Only applicable for individual addresses."
@@ -46,7 +47,7 @@ def main():
args = parser.parse_args()
result = scrape_property(args.location, args.listing_type, proxy=args.proxy)
result = scrape_property(args.location, args.listing_type, radius_for_comps=args.radius_for_comps, proxy=args.proxy)
if not args.filename:
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")