merge dump listings and dump details commands - fetch both details and listings in the same command
This commit is contained in:
parent
29213f3d26
commit
842f7cefbe
7 changed files with 54 additions and 59 deletions
|
|
@ -3,10 +3,11 @@
|
|||
set -euxo pipefail
|
||||
|
||||
DATA_DIR="data/rs"
|
||||
LISTING_FILTER_OPTIONS="--min-price 2000 --max-price 4000 --min-bedrooms 2 --max-bedrooms 4 -t rent --available-from $(date +%Y-%m-%d) --last-seen-days 7 --furnish-type furnished"
|
||||
LISTING_FILTER_OPTIONS="--min-price 2000 --max-price 4000 --min-bedrooms 2 --max-bedrooms 4 -t rent --available-from $(date +%Y-%m-%d) --last-seen-days 7 --furnish-types furnished"
|
||||
|
||||
alembic upgrade head # init db
|
||||
|
||||
python main.py --data-dir $DATA_DIR dump-listings $LISTING_FILTER_OPTIONS
|
||||
python main.py --data-dir $DATA_DIR dump-details
|
||||
python main.py --data-dir $DATA_DIR dump-images
|
||||
python main.py --data-dir $DATA_DIR detect-floorplan
|
||||
#python main.py --data-dir $DATA_DIR routing --destination-address 'Meta Brock Street' -m transit # NOTE: THIS CONSUMES API CALLS; USE CAREFULLY; add -l to limit number of entries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue