Permalink
Browse files

CO: Slowly making this work for 2013

  • Loading branch information...
Paul Tagliamonte
Paul Tagliamonte committed Jan 4, 2013
1 parent 49ef5cc commit e65df85a143363ff83e8cf04fc99d4224fcf12e5
Showing with 3 additions and 1 deletion.
  1. +1 −1 openstates/co/__init__.py
  2. +2 −0 openstates/co/legislators.py
@@ -14,7 +14,7 @@
{'name': '2011-2012',
'sessions': ['2011A', '2012A', '2012B'],
'start_year': 2011, 'end_year': 2012},
- {'name': '2011-2012',
+ {'name': '2013-2014',
'sessions': ['2013A'],
'start_year': 2013, 'end_year': 2014},
],
@@ -102,6 +102,8 @@ def process_person( self, p_url ):
with self.urlopen(p_url) as html:
page = lxml.html.fromstring(html)
+ page.make_links_absolute(p_url)
+
info = page.xpath( '//table/tr' )[1]
tds = {
"name" : 0,

0 comments on commit e65df85

Please sign in to comment.