{"action":"created","issue":{"url":"https://api.github.com/repos/sunlightlabs/openstates/issues/952","repository_url":"https://api.github.com/repos/sunlightlabs/openstates","labels_url":"https://api.github.com/repos/sunlightlabs/openstates/issues/952/labels{/name}","comments_url":"https://api.github.com/repos/sunlightlabs/openstates/issues/952/comments","events_url":"https://api.github.com/repos/sunlightlabs/openstates/issues/952/events","html_url":"https://github.com/sunlightlabs/openstates/pull/952","id":128547060,"number":952,"title":"fixing issue with scraper for anything outside of a normal session","user":{"login":"dmc2015","id":7463796,"avatar_url":"https://avatars.githubusercontent.com/u/7463796?v=3","gravatar_id":"","url":"https://api.github.com/users/dmc2015","html_url":"https://github.com/dmc2015","followers_url":"https://api.github.com/users/dmc2015/followers","following_url":"https://api.github.com/users/dmc2015/following{/other_user}","gists_url":"https://api.github.com/users/dmc2015/gists{/gist_id}","starred_url":"https://api.github.com/users/dmc2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmc2015/subscriptions","organizations_url":"https://api.github.com/users/dmc2015/orgs","repos_url":"https://api.github.com/users/dmc2015/repos","events_url":"https://api.github.com/users/dmc2015/events{/privacy}","received_events_url":"https://api.github.com/users/dmc2015/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-25T14:23:57Z","updated_at":"2016-02-09T22:26:49Z","closed_at":"2016-01-26T19:53:25Z","pull_request":{"url":"https://api.github.com/repos/sunlightlabs/openstates/pulls/952","html_url":"https://github.com/sunlightlabs/openstates/pull/952","diff_url":"https://github.com/sunlightlabs/openstates/pull/952.diff","patch_url":"https://github.com/sunlightlabs/openstates/pull/952.patch"},"body":"Pretty concerned the init for la. \r\nDates are missing from the session or are incorrect, I am wondering how this was working previously.\r\nWhen no date is set it, ’start_date’ - ‘end_date’, it seems to be pulling 2016 data. On my local version each session has 28 bills.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/7463796/12553419/542e6000-c345-11e5-9a79-415d3fa238ae.png)\r\n\r\n\r\nI am fairly sure the 2011 Special session fix is good though.\r\n\r\nRegarding the other session specific scrapes:\r\nWe are going to a URL for scraping and it is stuck on 2016, it doesn’t change based on session selected. I am guessing the production environment already has historical data scraped prior to them changing the URL on the site to being specific to 2016. So this secondary issue is only impacting local versions of OpenStates.\r\n\r\nOn line 15 of la/bills.py a URL var is set, \"http://www.legis.la.gov/Legis/BillSearchListQ.aspx?r=%s1*\" . On line 44 we format the string and it goes here\r\n\r\nhttp://www.legis.la.gov/Legis/BillSearchListQ.aspx?r=SB1*\r\nor \r\nhttp://www.legis.la.gov/Legis/BillSearchListQ.aspx?r=HB1*\r\n\r\nThat link is always 2016. It is not directly related to my fix but we should keep it in mind and never remove the la collection. I also I want to make sure that the issue can be replicated.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sunlightlabs/openstates/issues/comments/182107062","html_url":"https://github.com/sunlightlabs/openstates/pull/952#issuecomment-182107062","issue_url":"https://api.github.com/repos/sunlightlabs/openstates/issues/952","id":182107062,"user":{"login":"dmc2015","id":7463796,"avatar_url":"https://avatars.githubusercontent.com/u/7463796?v=3","gravatar_id":"","url":"https://api.github.com/users/dmc2015","html_url":"https://github.com/dmc2015","followers_url":"https://api.github.com/users/dmc2015/followers","following_url":"https://api.github.com/users/dmc2015/following{/other_user}","gists_url":"https://api.github.com/users/dmc2015/gists{/gist_id}","starred_url":"https://api.github.com/users/dmc2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmc2015/subscriptions","organizations_url":"https://api.github.com/users/dmc2015/orgs","repos_url":"https://api.github.com/users/dmc2015/repos","events_url":"https://api.github.com/users/dmc2015/events{/privacy}","received_events_url":"https://api.github.com/users/dmc2015/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T22:26:49Z","updated_at":"2016-02-09T22:26:49Z","body":"@loandy thanks"}}