This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python process.py | |
CRAIG ELTON GILLEN, 20 | |
White Male from SPRING HILL, IA | |
Booked at 7/6/2015 11:51 AM | |
JEREMY MONTEZ AMERISON SMITH, 27 | |
Black Male from CLIVE, IA | |
Booked at 7/6/2015 11:45 AM | |
. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time.sleep(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests, time | |
from bs4 import BeautifulSoup | |
# We've now imported the two packages that will do the heavy lifting | |
# for us, reqeusts and BeautifulSoup | |
# This is the URL that lists the current inmates | |
# Should this URL go away, and archive is available at | |
# http://perma.cc/2HZR-N38X | |
url_to_scrape = 'http://apps2.polkcountyiowa.gov/inmatesontheweb/' |
OlderNewer