{"action":"created","issue":{"url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/16","repository_url":"https://api.github.com/repos/juliomalegria/python-craigslist","labels_url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/16/comments","events_url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/16/events","html_url":"https://github.com/juliomalegria/python-craigslist/issues/16","id":172837913,"number":16,"title":"AttributeError: 'NoneType' object has no attribute 'text'","user":{"login":"johnthomas00","id":4084713,"avatar_url":"https://avatars.githubusercontent.com/u/4084713?v=3","gravatar_id":"","url":"https://api.github.com/users/johnthomas00","html_url":"https://github.com/johnthomas00","followers_url":"https://api.github.com/users/johnthomas00/followers","following_url":"https://api.github.com/users/johnthomas00/following{/other_user}","gists_url":"https://api.github.com/users/johnthomas00/gists{/gist_id}","starred_url":"https://api.github.com/users/johnthomas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnthomas00/subscriptions","organizations_url":"https://api.github.com/users/johnthomas00/orgs","repos_url":"https://api.github.com/users/johnthomas00/repos","events_url":"https://api.github.com/users/johnthomas00/events{/privacy}","received_events_url":"https://api.github.com/users/johnthomas00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-24T00:22:11Z","updated_at":"2016-08-24T00:46:31Z","closed_at":null,"body":"Love this Python application, thanks.  It has been working great, but today, I started getting this error.  Any suggestions:\r\n\r\nTraceback (most recent call last):\r\n  File \"./get_search.py\", line 28, in <module>\r\n    for x in gems.get_results(sort_by='newest', geotagged=True):\r\n  File \"/home/user47/craigslist_app/lib/python3.4/site-packages/craigslist/__init__.py\", line 160, in get_results\r\n    p_text = row.find('span', {'class': 'p'}).text\r\nAttributeError: 'NoneType' object has no attribute 'text'"},"comment":{"url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/comments/241926343","html_url":"https://github.com/juliomalegria/python-craigslist/issues/16#issuecomment-241926343","issue_url":"https://api.github.com/repos/juliomalegria/python-craigslist/issues/16","id":241926343,"user":{"login":"johnthomas00","id":4084713,"avatar_url":"https://avatars.githubusercontent.com/u/4084713?v=3","gravatar_id":"","url":"https://api.github.com/users/johnthomas00","html_url":"https://github.com/johnthomas00","followers_url":"https://api.github.com/users/johnthomas00/followers","following_url":"https://api.github.com/users/johnthomas00/following{/other_user}","gists_url":"https://api.github.com/users/johnthomas00/gists{/gist_id}","starred_url":"https://api.github.com/users/johnthomas00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnthomas00/subscriptions","organizations_url":"https://api.github.com/users/johnthomas00/orgs","repos_url":"https://api.github.com/users/johnthomas00/repos","events_url":"https://api.github.com/users/johnthomas00/events{/privacy}","received_events_url":"https://api.github.com/users/johnthomas00/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T00:46:31Z","updated_at":"2016-08-24T00:46:31Z","body":"As a temporary work around, I replaced\r\n    p_text = row.find('span', {'class': 'p'}).text\r\nwith\r\n    if row.find('span', {'class': 'p'}):\r\n        p_text = row.find('span', {'class': 'p'}).text\r\nbut not sure that works yet as I only run this every few hours.  I will report back later."}}
{"actor":{"display_login":"johnthomas00"}}