You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
678 B
19 lines
678 B
# change working directory |
|
Set-Location E:\forge\python\house-quest |
|
|
|
# install dependencies |
|
.\.venv-scraper\Scripts\python.exe -m pip install -r requirements-dfimoveis.txt |
|
|
|
# clean up browser profile |
|
Remove-Item -Recurse -Force .\dfimoveis_data\browser-profile |
|
|
|
# run Chrome with remote debugging enabled |
|
& "C:\Program Files\Google\Chrome\Application\chrome.exe"` |
|
--remote-debugging-port=9222 ` |
|
--user-data-dir="E:\forge\python\house-quest\dfimoveis_data\browser-profile" |
|
|
|
# scraper execution command |
|
.\.venv-scraper\Scripts\python.exe .\dfimoveis_scraper.py ` |
|
--search-file .\search_list.txt ` |
|
--output .\dfimoveis_data ` |
|
--attach-chrome
|
|
|