Skip to content

James-Cheaper/cheaper

 
 

Repository files navigation

Cheaper.com

Initial Landing pageInitial Landing page

##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

  1. Install the PostgreSQL Extension in VSCode
  2. Make sure PostgreSQL is Running Locally
  3. click the extension on the left sidebar
  4. click the plus button and create a new connection
  5. fill in the needed information, server = localhost, database = cheaper_local, User = postgres, port = 5432 (default), password = the password you made when installing PostgreSQL
  6. You should be connected now and see a message and see the conencted database in the extension now.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%