{"action":"created","comment":{"url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/comments/89498834","pull_request_review_id":10043687,"id":89498834,"diff_hunk":"@@ -144,6 +144,22 @@ argument to ``bin/crawl-foo-org``. The crawler will then only fetch and index\n that specific URL.\n \n \n+Slack-Notifications\n+-------------------\n+\n+The ``ftw.crawler`` supports Slack-Notifications. Those notifications can be used\n+to monitor the crawler on possible errors while crawling.\n+To enable slack-notifications for your environment, you need to do the following things:\n+\n+- Make sure `slacker <https://github.com/os/slacker>`_ is installed in your env.\n+- Set the `SLACK_TOKEN` and the `SLACK_CHANNEL` params in your crawler config or\n+- use the `--slacktoken` and the `--slackchannel` arguments in the command line when\n+  calling the `/crawl` script.\n+\n+To generate your Slack-Token you can visit the Slack-Homepage and search for it in the","path":"README.rst","position":null,"original_position":16,"commit_id":"dfeacd3a0d7d5ce719431856301bce7b3ef494e9","original_commit_id":"e20dac16f785bf3b5a02f0b08f0d47c76de11b7a","user":{"login":"raphael-s","id":16755391,"avatar_url":"https://avatars.githubusercontent.com/u/16755391?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-s","html_url":"https://github.com/raphael-s","followers_url":"https://api.github.com/users/raphael-s/followers","following_url":"https://api.github.com/users/raphael-s/following{/other_user}","gists_url":"https://api.github.com/users/raphael-s/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-s/subscriptions","organizations_url":"https://api.github.com/users/raphael-s/orgs","repos_url":"https://api.github.com/users/raphael-s/repos","events_url":"https://api.github.com/users/raphael-s/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-s/received_events","type":"User","site_admin":false},"body":"This should describe the process of getting the token more accurate now.","created_at":"2016-11-24T13:37:43Z","updated_at":"2016-11-24T13:37:43Z","html_url":"https://github.com/4teamwork/ftw.crawler/pull/4#discussion_r89498834","pull_request_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/comments/89498834"},"html":{"href":"https://github.com/4teamwork/ftw.crawler/pull/4#discussion_r89498834"},"pull_request":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4","id":94853798,"html_url":"https://github.com/4teamwork/ftw.crawler/pull/4","diff_url":"https://github.com/4teamwork/ftw.crawler/pull/4.diff","patch_url":"https://github.com/4teamwork/ftw.crawler/pull/4.patch","issue_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/4","number":4,"state":"open","locked":false,"title":"Support slack notifications","user":{"login":"raphael-s","id":16755391,"avatar_url":"https://avatars.githubusercontent.com/u/16755391?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-s","html_url":"https://github.com/raphael-s","followers_url":"https://api.github.com/users/raphael-s/followers","following_url":"https://api.github.com/users/raphael-s/following{/other_user}","gists_url":"https://api.github.com/users/raphael-s/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-s/subscriptions","organizations_url":"https://api.github.com/users/raphael-s/orgs","repos_url":"https://api.github.com/users/raphael-s/repos","events_url":"https://api.github.com/users/raphael-s/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-s/received_events","type":"User","site_admin":false},"body":"Adds support for slack notifications.\r\n\r\nIf slacker is installed and the slack-attributes are set, this will automatically send notifications to slack when crawler raises an error while crawling.","created_at":"2016-11-22T16:53:58Z","updated_at":"2016-11-24T13:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16a44bded4e45ebcbf51198b32a62ac6dcf5eaec","assignee":{"login":"lukasgraf","id":405124,"avatar_url":"https://avatars.githubusercontent.com/u/405124?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgraf","html_url":"https://github.com/lukasgraf","followers_url":"https://api.github.com/users/lukasgraf/followers","following_url":"https://api.github.com/users/lukasgraf/following{/other_user}","gists_url":"https://api.github.com/users/lukasgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgraf/subscriptions","organizations_url":"https://api.github.com/users/lukasgraf/orgs","repos_url":"https://api.github.com/users/lukasgraf/repos","events_url":"https://api.github.com/users/lukasgraf/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgraf/received_events","type":"User","site_admin":false},"assignees":[{"login":"lukasgraf","id":405124,"avatar_url":"https://avatars.githubusercontent.com/u/405124?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgraf","html_url":"https://github.com/lukasgraf","followers_url":"https://api.github.com/users/lukasgraf/followers","following_url":"https://api.github.com/users/lukasgraf/following{/other_user}","gists_url":"https://api.github.com/users/lukasgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgraf/subscriptions","organizations_url":"https://api.github.com/users/lukasgraf/orgs","repos_url":"https://api.github.com/users/lukasgraf/repos","events_url":"https://api.github.com/users/lukasgraf/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgraf/received_events","type":"User","site_admin":false},{"login":"maethu","id":437933,"avatar_url":"https://avatars.githubusercontent.com/u/437933?v=3","gravatar_id":"","url":"https://api.github.com/users/maethu","html_url":"https://github.com/maethu","followers_url":"https://api.github.com/users/maethu/followers","following_url":"https://api.github.com/users/maethu/following{/other_user}","gists_url":"https://api.github.com/users/maethu/gists{/gist_id}","starred_url":"https://api.github.com/users/maethu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maethu/subscriptions","organizations_url":"https://api.github.com/users/maethu/orgs","repos_url":"https://api.github.com/users/maethu/repos","events_url":"https://api.github.com/users/maethu/events{/privacy}","received_events_url":"https://api.github.com/users/maethu/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4/commits","review_comments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4/comments","review_comment_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/4/comments","statuses_url":"https://api.github.com/repos/4teamwork/ftw.crawler/statuses/dfeacd3a0d7d5ce719431856301bce7b3ef494e9","head":{"label":"4teamwork:rs-SlackNotifications","ref":"rs-SlackNotifications","sha":"dfeacd3a0d7d5ce719431856301bce7b3ef494e9","user":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":27127352,"name":"ftw.crawler","full_name":"4teamwork/ftw.crawler","owner":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4teamwork/ftw.crawler","description":"Crawl sites, extract text and metadata, index it in Solr","fork":false,"url":"https://api.github.com/repos/4teamwork/ftw.crawler","forks_url":"https://api.github.com/repos/4teamwork/ftw.crawler/forks","keys_url":"https://api.github.com/repos/4teamwork/ftw.crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/ftw.crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/ftw.crawler/teams","hooks_url":"https://api.github.com/repos/4teamwork/ftw.crawler/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/ftw.crawler/events","assignees_url":"https://api.github.com/repos/4teamwork/ftw.crawler/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/ftw.crawler/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/ftw.crawler/tags","blobs_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/ftw.crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/ftw.crawler/languages","stargazers_url":"https://api.github.com/repos/4teamwork/ftw.crawler/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/ftw.crawler/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/ftw.crawler/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/ftw.crawler/subscription","commits_url":"https://api.github.com/repos/4teamwork/ftw.crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/ftw.crawler/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/ftw.crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/ftw.crawler/merges","archive_url":"https://api.github.com/repos/4teamwork/ftw.crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/ftw.crawler/downloads","issues_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/ftw.crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/ftw.crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/ftw.crawler/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/ftw.crawler/releases{/id}","deployments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/deployments","created_at":"2014-11-25T13:36:58Z","updated_at":"2016-10-04T08:08:04Z","pushed_at":"2016-11-24T13:36:56Z","git_url":"git://github.com/4teamwork/ftw.crawler.git","ssh_url":"git@github.com:4teamwork/ftw.crawler.git","clone_url":"https://github.com/4teamwork/ftw.crawler.git","svn_url":"https://github.com/4teamwork/ftw.crawler","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"4teamwork:master","ref":"master","sha":"abbe820c6cd5845b981141a3f8dd5a5aba309647","user":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"repo":{"id":27127352,"name":"ftw.crawler","full_name":"4teamwork/ftw.crawler","owner":{"login":"4teamwork","id":681821,"avatar_url":"https://avatars.githubusercontent.com/u/681821?v=3","gravatar_id":"","url":"https://api.github.com/users/4teamwork","html_url":"https://github.com/4teamwork","followers_url":"https://api.github.com/users/4teamwork/followers","following_url":"https://api.github.com/users/4teamwork/following{/other_user}","gists_url":"https://api.github.com/users/4teamwork/gists{/gist_id}","starred_url":"https://api.github.com/users/4teamwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4teamwork/subscriptions","organizations_url":"https://api.github.com/users/4teamwork/orgs","repos_url":"https://api.github.com/users/4teamwork/repos","events_url":"https://api.github.com/users/4teamwork/events{/privacy}","received_events_url":"https://api.github.com/users/4teamwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/4teamwork/ftw.crawler","description":"Crawl sites, extract text and metadata, index it in Solr","fork":false,"url":"https://api.github.com/repos/4teamwork/ftw.crawler","forks_url":"https://api.github.com/repos/4teamwork/ftw.crawler/forks","keys_url":"https://api.github.com/repos/4teamwork/ftw.crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/4teamwork/ftw.crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/4teamwork/ftw.crawler/teams","hooks_url":"https://api.github.com/repos/4teamwork/ftw.crawler/hooks","issue_events_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/events{/number}","events_url":"https://api.github.com/repos/4teamwork/ftw.crawler/events","assignees_url":"https://api.github.com/repos/4teamwork/ftw.crawler/assignees{/user}","branches_url":"https://api.github.com/repos/4teamwork/ftw.crawler/branches{/branch}","tags_url":"https://api.github.com/repos/4teamwork/ftw.crawler/tags","blobs_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/4teamwork/ftw.crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/4teamwork/ftw.crawler/languages","stargazers_url":"https://api.github.com/repos/4teamwork/ftw.crawler/stargazers","contributors_url":"https://api.github.com/repos/4teamwork/ftw.crawler/contributors","subscribers_url":"https://api.github.com/repos/4teamwork/ftw.crawler/subscribers","subscription_url":"https://api.github.com/repos/4teamwork/ftw.crawler/subscription","commits_url":"https://api.github.com/repos/4teamwork/ftw.crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/4teamwork/ftw.crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/4teamwork/ftw.crawler/contents/{+path}","compare_url":"https://api.github.com/repos/4teamwork/ftw.crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/4teamwork/ftw.crawler/merges","archive_url":"https://api.github.com/repos/4teamwork/ftw.crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/4teamwork/ftw.crawler/downloads","issues_url":"https://api.github.com/repos/4teamwork/ftw.crawler/issues{/number}","pulls_url":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/4teamwork/ftw.crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/4teamwork/ftw.crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/4teamwork/ftw.crawler/labels{/name}","releases_url":"https://api.github.com/repos/4teamwork/ftw.crawler/releases{/id}","deployments_url":"https://api.github.com/repos/4teamwork/ftw.crawler/deployments","created_at":"2014-11-25T13:36:58Z","updated_at":"2016-10-04T08:08:04Z","pushed_at":"2016-11-24T13:36:56Z","git_url":"git://github.com/4teamwork/ftw.crawler.git","ssh_url":"git@github.com:4teamwork/ftw.crawler.git","clone_url":"https://github.com/4teamwork/ftw.crawler.git","svn_url":"https://github.com/4teamwork/ftw.crawler","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4"},"html":{"href":"https://github.com/4teamwork/ftw.crawler/pull/4"},"issue":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/4"},"comments":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/4teamwork/ftw.crawler/statuses/dfeacd3a0d7d5ce719431856301bce7b3ef494e9"}}}}
{"actor":{"display_login":"raphael-s"}}