Commit Graph

17 Commits

Author SHA1 Message Date
Joshua Tauberer
517398f0ff fix votes task autodetection of the current session: we're still in the 2016 legislative year until Jan 3 at noon 2017-01-01 08:05:04 -05:00
Joshua Tauberer
f5423f4be7 sometimes Senate vote index pages come back as a 404 - catch that before getting an XML parsing error 2016-04-26 19:09:08 -04:00
Joshua Tauberer
3013577a59 votes: dont die trying to add a list and None if one chamber has an error getting the vote list 2015-01-06 15:23:58 -05:00
Joshua Tauberer
12a02c605a the Senate vote index XML (vote_menu_114_1.xml) is returning info from the previous session, not the one named in the URL --- add a sanity check and abort 2015-01-06 15:22:59 -05:00
Will Van Wazer
04d494856f Automated PEP8 refactoring with autopep8. 2014-04-28 22:39:50 -04:00
Joshua Tauberer
99b4373210 in utils.download(), renamed the 'xml' option to 'binary' 2013-07-17 15:30:31 -04:00
Joshua Tauberer
1085422ed7 votes: make the lack of new votes with --fast a warning not an error 2013-04-19 08:26:04 -04:00
Eric Mill
c0ebcb26af Add a check to prevent confusing congress and session mixups 2013-03-11 16:06:51 -04:00
Eric Mill
baa0b9cebb Added a chamber flag to votes 2013-03-01 22:22:20 -06:00
Eric Mill
782af88e85 Refactored download helper to have all extra options go through options hash, documented each option 2013-01-20 15:16:54 -05:00
GovTrack.us
564528a5a2 add a --fast option for scraping votes which only downloads new votes or votes taken in the last three days 2013-01-15 08:45:37 -05:00
GovTrack.us
63d678e722 change some print statements to logging.warn and use a special Exception class when a GovTrack ID lookup fails 2013-01-06 09:41:46 -05:00
GovTrack.us
d816441d37 partial revert of 4cbf3bc2fe which added a check if a vote file is changed (module updated_at) before saving it, but this logic is better handled by my GovTrack import scripts rather than here 2013-01-06 09:41:09 -05:00
GovTrack.us
4cbf3bc2fe 1) fix how congress-legislators repo is updated; 2) in the votes parser change the meaning of --force and add new option --fetch 2013-01-03 18:36:26 -05:00
GovTrack.us
e851ae6073 revised vote IDs to use canonical session years (e.g. 2012) rather than session ordinals (e.g. 1, 2) 2013-01-02 09:59:49 -05:00
GovTrack.us
a60718aff2 --congress flag was broken 2012-12-31 09:47:32 -05:00
Joshua Tauberer
a1da46b78f starting a roll call votes parser, including some refactoring of existing code so it can be reused 2012-12-27 16:12:24 -05:00