Downloads Congressional Records transcripts from cSpan
Requirements:
-
Install python 3.4
https://www.python.org/ftp/python/3.4.2/python-3.4.2-macosx10.6.pkg
-
Install beautifulsoup
python3.4 -m pip install beautifulsoup4
-
Install selenium
python3.4 -m pip install selenium
-
Download & Install Firefox version 27.0.1 https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/27.0.1/mac/en-US/Firefox%2027.0.1.dmg
How to run:
From within cSpan folder type:
python3 senateText.py <url of video>
example:
python3 senateText.py http://www.c-span.org/video/?326250-1/us-senate-debate-defense-authorization-bill