Skip to content

Instantly share code, notes, and snippets.

@icohen
icohen / gist:1377373
Created November 18, 2011 18:49
Boston Globe - Today's Paper Scraper
import urllib2
import json
from BeautifulSoup import BeautifulSoup
import re
import os
sections = []
today = urllib2.urlopen("http://www.bostonglobe.com/todayspaper/2011/11/05")
today_soup = BeautifulSoup(today)