jucruz22 / 507_Final_Project

SI507 Final Project
0 stars 0 forks source link

Project Overview

This script involves a little bit of web-scraping, data-parsing, database creation, and data visualization. The whole package! More specifically, I've scraped from the website of one of my favorite organizations; 826 Michigan is a reading and writing center in Ann Arbor, pleasantly disguised a pirate supply shop (website: https://www.826michigan.org/)

Getting Started

db_name = 'jucruz-final-project-db'
db_user = 'your_terminal_username'
db_password = 'your_computer_password'

What to Expect

Once you're set up in your virtual environment, to run the code, type in the following command:

python SI507F17_finalproject.py

If it works successfully, you should see the following via your terminal:

Fetching a fresh copy: https://www.826michigan.org/blog
Fetching a fresh copy: https://www.826michigan.org/blog/page/2/
Fetching a fresh copy: https://www.826michigan.org/blog/page/3/
Success connecting to database
Successfully transferred blog class data to Database
Successfully created 826 Michigan html file

Essentially what's happening in the background is as follows:

You may run tests on this code using SI507F17_finalproject_tests.py** to make sure its working in your local environment.

Libraries Used

Acknowledgments