##Technical Documentation of how to run the application
#How to run
-To run the scraper, execute the main.py script by running the command
python src/main.py
-Make sure you are in the webscraper directory when you run the command
##Where is the entry point?
-The entry point is the main() in main.py, specifically, this block of code,
if name == "main":
main()
##what file needs to be located and what variables would need to be changed if you wanted to scrape another website?
-If you wanted to scrape another website, you need to locate the file main.py and change the variables “scraper” and “pages” to whatever website you wanted and the new URl paths. As well ensure the website allows scraping.
Documentation on connecting the database to vscode with the postgres extension
- Install the PostgreSQL Extension in VSCode
- Make sure PostgreSQL is Running Locally
- click the extension on the left sidebar
- click the plus button and create a new connection
- fill in the needed information, server = localhost, database = cheaper_local, User = postgres, port = 5432 (default), password = the password you made when installing PostgreSQL
- You should be connected now and see a message and see the conencted database in the extension now.
