{"action":"created","comment":{"url":"https://api.github.com/repos/dtzitz/boredbot/pulls/comments/61662414","id":61662414,"diff_hunk":"@@ -21,51 +22,57 @@ def TampaScrape():\n     thingLinks = tampaSoup.select('#TTD_CALENDAR_UNIT1 h3 a')\n \n     postContent.write('# Bored?\\n')\n-    postContent.write('Here\\'s some things to do today\\n\\n')\n-    eventName = []\n-    eventLink = []\n-    for item in thingNames:\n-        eventName.append( str('##'+item.text.strip('\\n')) )\n-        # postContent.write(eventName+' at ''\\n')\n+    postContent.write(\"Here are some things to do today\\n\\n\")\n \n-    for item in thingLinks:\n-        eventLink.append( '[tampabay.com]'+'(http://www.tampabay.com'+str(item.get('href'))+')')\n-        # postContent.write(eventLink)\n+    # added space after ## but it might break reddit api\n+    eventName = [str('## '+item.text.strip('\\n')) for item in thingNames]\n+    eventLink = ['[tampabay.com]'+'(http://www.tampabay.com'+str(item.get('href'))+')' for item in thingLinks]","path":"whatdo.py","position":36,"original_position":36,"commit_id":"f0f56f0312f2be593bc324ccfbbaf8edc008cd10","original_commit_id":"f0f56f0312f2be593bc324ccfbbaf8edc008cd10","user":{"login":"mjturtora","id":17150655,"avatar_url":"https://avatars.githubusercontent.com/u/17150655?v=3","gravatar_id":"","url":"https://api.github.com/users/mjturtora","html_url":"https://github.com/mjturtora","followers_url":"https://api.github.com/users/mjturtora/followers","following_url":"https://api.github.com/users/mjturtora/following{/other_user}","gists_url":"https://api.github.com/users/mjturtora/gists{/gist_id}","starred_url":"https://api.github.com/users/mjturtora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjturtora/subscriptions","organizations_url":"https://api.github.com/users/mjturtora/orgs","repos_url":"https://api.github.com/users/mjturtora/repos","events_url":"https://api.github.com/users/mjturtora/events{/privacy}","received_events_url":"https://api.github.com/users/mjturtora/received_events","type":"User","site_admin":false},"body":"and this L.C. replaces your lines 26 & 31-32","created_at":"2016-04-30T01:29:39Z","updated_at":"2016-04-30T01:29:39Z","html_url":"https://github.com/dtzitz/boredbot/pull/2#discussion_r61662414","pull_request_url":"https://api.github.com/repos/dtzitz/boredbot/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/comments/61662414"},"html":{"href":"https://github.com/dtzitz/boredbot/pull/2#discussion_r61662414"},"pull_request":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/dtzitz/boredbot/pulls/2","id":68452632,"html_url":"https://github.com/dtzitz/boredbot/pull/2","diff_url":"https://github.com/dtzitz/boredbot/pull/2.diff","patch_url":"https://github.com/dtzitz/boredbot/pull/2.patch","issue_url":"https://api.github.com/repos/dtzitz/boredbot/issues/2","number":2,"state":"open","locked":false,"title":"I think this will be ok.","user":{"login":"mjturtora","id":17150655,"avatar_url":"https://avatars.githubusercontent.com/u/17150655?v=3","gravatar_id":"","url":"https://api.github.com/users/mjturtora","html_url":"https://github.com/mjturtora","followers_url":"https://api.github.com/users/mjturtora/followers","following_url":"https://api.github.com/users/mjturtora/following{/other_user}","gists_url":"https://api.github.com/users/mjturtora/gists{/gist_id}","starred_url":"https://api.github.com/users/mjturtora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjturtora/subscriptions","organizations_url":"https://api.github.com/users/mjturtora/orgs","repos_url":"https://api.github.com/users/mjturtora/repos","events_url":"https://api.github.com/users/mjturtora/events{/privacy}","received_events_url":"https://api.github.com/users/mjturtora/received_events","type":"User","site_admin":false},"body":"It can't automatically merge but I don't see anything in your latest push that is incompatible with mine (actually, it looks the same as what I started with).\r\n\r\nOf course, the ultimate fall back is for you to just make a copy of the code to a back-up local folder.\r\n\r\nYou will have to figure out how to tell it to keep my edits though.\r\n\r\nIf all else fails it should only take a few tries. :)\r\n","created_at":"2016-04-30T01:08:29Z","updated_at":"2016-04-30T01:29:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dtzitz/boredbot/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dtzitz/boredbot/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dtzitz/boredbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dtzitz/boredbot/issues/2/comments","statuses_url":"https://api.github.com/repos/dtzitz/boredbot/statuses/f0f56f0312f2be593bc324ccfbbaf8edc008cd10","head":{"label":"mjturtora:master","ref":"master","sha":"f0f56f0312f2be593bc324ccfbbaf8edc008cd10","user":{"login":"mjturtora","id":17150655,"avatar_url":"https://avatars.githubusercontent.com/u/17150655?v=3","gravatar_id":"","url":"https://api.github.com/users/mjturtora","html_url":"https://github.com/mjturtora","followers_url":"https://api.github.com/users/mjturtora/followers","following_url":"https://api.github.com/users/mjturtora/following{/other_user}","gists_url":"https://api.github.com/users/mjturtora/gists{/gist_id}","starred_url":"https://api.github.com/users/mjturtora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjturtora/subscriptions","organizations_url":"https://api.github.com/users/mjturtora/orgs","repos_url":"https://api.github.com/users/mjturtora/repos","events_url":"https://api.github.com/users/mjturtora/events{/privacy}","received_events_url":"https://api.github.com/users/mjturtora/received_events","type":"User","site_admin":false},"repo":{"id":57346244,"name":"boredbot","full_name":"mjturtora/boredbot","owner":{"login":"mjturtora","id":17150655,"avatar_url":"https://avatars.githubusercontent.com/u/17150655?v=3","gravatar_id":"","url":"https://api.github.com/users/mjturtora","html_url":"https://github.com/mjturtora","followers_url":"https://api.github.com/users/mjturtora/followers","following_url":"https://api.github.com/users/mjturtora/following{/other_user}","gists_url":"https://api.github.com/users/mjturtora/gists{/gist_id}","starred_url":"https://api.github.com/users/mjturtora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjturtora/subscriptions","organizations_url":"https://api.github.com/users/mjturtora/orgs","repos_url":"https://api.github.com/users/mjturtora/repos","events_url":"https://api.github.com/users/mjturtora/events{/privacy}","received_events_url":"https://api.github.com/users/mjturtora/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mjturtora/boredbot","description":"script for scraping content for reddit post","fork":true,"url":"https://api.github.com/repos/mjturtora/boredbot","forks_url":"https://api.github.com/repos/mjturtora/boredbot/forks","keys_url":"https://api.github.com/repos/mjturtora/boredbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mjturtora/boredbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mjturtora/boredbot/teams","hooks_url":"https://api.github.com/repos/mjturtora/boredbot/hooks","issue_events_url":"https://api.github.com/repos/mjturtora/boredbot/issues/events{/number}","events_url":"https://api.github.com/repos/mjturtora/boredbot/events","assignees_url":"https://api.github.com/repos/mjturtora/boredbot/assignees{/user}","branches_url":"https://api.github.com/repos/mjturtora/boredbot/branches{/branch}","tags_url":"https://api.github.com/repos/mjturtora/boredbot/tags","blobs_url":"https://api.github.com/repos/mjturtora/boredbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mjturtora/boredbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mjturtora/boredbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mjturtora/boredbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mjturtora/boredbot/statuses/{sha}","languages_url":"https://api.github.com/repos/mjturtora/boredbot/languages","stargazers_url":"https://api.github.com/repos/mjturtora/boredbot/stargazers","contributors_url":"https://api.github.com/repos/mjturtora/boredbot/contributors","subscribers_url":"https://api.github.com/repos/mjturtora/boredbot/subscribers","subscription_url":"https://api.github.com/repos/mjturtora/boredbot/subscription","commits_url":"https://api.github.com/repos/mjturtora/boredbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mjturtora/boredbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mjturtora/boredbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mjturtora/boredbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/mjturtora/boredbot/contents/{+path}","compare_url":"https://api.github.com/repos/mjturtora/boredbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mjturtora/boredbot/merges","archive_url":"https://api.github.com/repos/mjturtora/boredbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mjturtora/boredbot/downloads","issues_url":"https://api.github.com/repos/mjturtora/boredbot/issues{/number}","pulls_url":"https://api.github.com/repos/mjturtora/boredbot/pulls{/number}","milestones_url":"https://api.github.com/repos/mjturtora/boredbot/milestones{/number}","notifications_url":"https://api.github.com/repos/mjturtora/boredbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mjturtora/boredbot/labels{/name}","releases_url":"https://api.github.com/repos/mjturtora/boredbot/releases{/id}","deployments_url":"https://api.github.com/repos/mjturtora/boredbot/deployments","created_at":"2016-04-29T01:45:25Z","updated_at":"2016-04-29T01:45:26Z","pushed_at":"2016-04-29T23:51:23Z","git_url":"git://github.com/mjturtora/boredbot.git","ssh_url":"git@github.com:mjturtora/boredbot.git","clone_url":"https://github.com/mjturtora/boredbot.git","svn_url":"https://github.com/mjturtora/boredbot","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dtzitz:master","ref":"master","sha":"9dc4750db8de6f59e6395d88a078ccf921451a47","user":{"login":"dtzitz","id":5808819,"avatar_url":"https://avatars.githubusercontent.com/u/5808819?v=3","gravatar_id":"","url":"https://api.github.com/users/dtzitz","html_url":"https://github.com/dtzitz","followers_url":"https://api.github.com/users/dtzitz/followers","following_url":"https://api.github.com/users/dtzitz/following{/other_user}","gists_url":"https://api.github.com/users/dtzitz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtzitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtzitz/subscriptions","organizations_url":"https://api.github.com/users/dtzitz/orgs","repos_url":"https://api.github.com/users/dtzitz/repos","events_url":"https://api.github.com/users/dtzitz/events{/privacy}","received_events_url":"https://api.github.com/users/dtzitz/received_events","type":"User","site_admin":false},"repo":{"id":53332949,"name":"boredbot","full_name":"dtzitz/boredbot","owner":{"login":"dtzitz","id":5808819,"avatar_url":"https://avatars.githubusercontent.com/u/5808819?v=3","gravatar_id":"","url":"https://api.github.com/users/dtzitz","html_url":"https://github.com/dtzitz","followers_url":"https://api.github.com/users/dtzitz/followers","following_url":"https://api.github.com/users/dtzitz/following{/other_user}","gists_url":"https://api.github.com/users/dtzitz/gists{/gist_id}","starred_url":"https://api.github.com/users/dtzitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtzitz/subscriptions","organizations_url":"https://api.github.com/users/dtzitz/orgs","repos_url":"https://api.github.com/users/dtzitz/repos","events_url":"https://api.github.com/users/dtzitz/events{/privacy}","received_events_url":"https://api.github.com/users/dtzitz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtzitz/boredbot","description":"script for scraping content for reddit post","fork":false,"url":"https://api.github.com/repos/dtzitz/boredbot","forks_url":"https://api.github.com/repos/dtzitz/boredbot/forks","keys_url":"https://api.github.com/repos/dtzitz/boredbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtzitz/boredbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtzitz/boredbot/teams","hooks_url":"https://api.github.com/repos/dtzitz/boredbot/hooks","issue_events_url":"https://api.github.com/repos/dtzitz/boredbot/issues/events{/number}","events_url":"https://api.github.com/repos/dtzitz/boredbot/events","assignees_url":"https://api.github.com/repos/dtzitz/boredbot/assignees{/user}","branches_url":"https://api.github.com/repos/dtzitz/boredbot/branches{/branch}","tags_url":"https://api.github.com/repos/dtzitz/boredbot/tags","blobs_url":"https://api.github.com/repos/dtzitz/boredbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtzitz/boredbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtzitz/boredbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtzitz/boredbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtzitz/boredbot/statuses/{sha}","languages_url":"https://api.github.com/repos/dtzitz/boredbot/languages","stargazers_url":"https://api.github.com/repos/dtzitz/boredbot/stargazers","contributors_url":"https://api.github.com/repos/dtzitz/boredbot/contributors","subscribers_url":"https://api.github.com/repos/dtzitz/boredbot/subscribers","subscription_url":"https://api.github.com/repos/dtzitz/boredbot/subscription","commits_url":"https://api.github.com/repos/dtzitz/boredbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtzitz/boredbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtzitz/boredbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtzitz/boredbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtzitz/boredbot/contents/{+path}","compare_url":"https://api.github.com/repos/dtzitz/boredbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtzitz/boredbot/merges","archive_url":"https://api.github.com/repos/dtzitz/boredbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtzitz/boredbot/downloads","issues_url":"https://api.github.com/repos/dtzitz/boredbot/issues{/number}","pulls_url":"https://api.github.com/repos/dtzitz/boredbot/pulls{/number}","milestones_url":"https://api.github.com/repos/dtzitz/boredbot/milestones{/number}","notifications_url":"https://api.github.com/repos/dtzitz/boredbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtzitz/boredbot/labels{/name}","releases_url":"https://api.github.com/repos/dtzitz/boredbot/releases{/id}","deployments_url":"https://api.github.com/repos/dtzitz/boredbot/deployments","created_at":"2016-03-07T14:46:22Z","updated_at":"2016-03-07T14:50:15Z","pushed_at":"2016-04-30T01:08:29Z","git_url":"git://github.com/dtzitz/boredbot.git","ssh_url":"git@github.com:dtzitz/boredbot.git","clone_url":"https://github.com/dtzitz/boredbot.git","svn_url":"https://github.com/dtzitz/boredbot","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/2"},"html":{"href":"https://github.com/dtzitz/boredbot/pull/2"},"issue":{"href":"https://api.github.com/repos/dtzitz/boredbot/issues/2"},"comments":{"href":"https://api.github.com/repos/dtzitz/boredbot/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dtzitz/boredbot/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dtzitz/boredbot/statuses/f0f56f0312f2be593bc324ccfbbaf8edc008cd10"}}}}