Skip to content
/ SMARE Public

Senior Design Repository for the Statefarm Automotive Fraud Project

License

Notifications You must be signed in to change notification settings

athiya26/SMARE

Repository files navigation

Statefarm SMARE

Senior Design Repository for the Statefarm Automotive Fraud Project

Database Access

Make a copy of the .env.example file and make the following changes.

  1. remove .example from the extension

  2. Paste the username and password provided in MongoDB Atlas (if you should have access but do not, please contact @waseem-polus)

  3. Paste the connection URL provided provided in MongoDB Atlas. Include the password and username fields using ${VARIABLE} syntax to embed the value of the variable

Run Scrapers locally

Prerequisites

  • python3
  • pipenv

Installing dependencies
Navigate to scrapers/ and open the virtual environment using

pipenv shell

Then install dependencies using

pipenv install

Scraper Usage
To create build a Docker Image use

pipenv run build

to run a docker container "smarecontainer" use

pipenv run cont

then

# Scrape Craigsist homepage
pipenv run craigslist

# Scrape Facebook Marketplace homepage
pipenv run facebook

About

Senior Design Repository for the Statefarm Automotive Fraud Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published