{"action":"created","issue":{"url":"https://api.github.com/repos/filiph/linkcheck/issues/2","repository_url":"https://api.github.com/repos/filiph/linkcheck","labels_url":"https://api.github.com/repos/filiph/linkcheck/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/filiph/linkcheck/issues/2/comments","events_url":"https://api.github.com/repos/filiph/linkcheck/issues/2/events","html_url":"https://github.com/filiph/linkcheck/issues/2","id":194423223,"number":2,"title":"support link whitelisting","user":{"login":"chalin","id":4140793,"avatar_url":"https://avatars.githubusercontent.com/u/4140793?v=3","gravatar_id":"","url":"https://api.github.com/users/chalin","html_url":"https://github.com/chalin","followers_url":"https://api.github.com/users/chalin/followers","following_url":"https://api.github.com/users/chalin/following{/other_user}","gists_url":"https://api.github.com/users/chalin/gists{/gist_id}","starred_url":"https://api.github.com/users/chalin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalin/subscriptions","organizations_url":"https://api.github.com/users/chalin/orgs","repos_url":"https://api.github.com/users/chalin/repos","events_url":"https://api.github.com/users/chalin/events{/privacy}","received_events_url":"https://api.github.com/users/chalin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"filiph","id":919717,"avatar_url":"https://avatars.githubusercontent.com/u/919717?v=3","gravatar_id":"","url":"https://api.github.com/users/filiph","html_url":"https://github.com/filiph","followers_url":"https://api.github.com/users/filiph/followers","following_url":"https://api.github.com/users/filiph/following{/other_user}","gists_url":"https://api.github.com/users/filiph/gists{/gist_id}","starred_url":"https://api.github.com/users/filiph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiph/subscriptions","organizations_url":"https://api.github.com/users/filiph/orgs","repos_url":"https://api.github.com/users/filiph/repos","events_url":"https://api.github.com/users/filiph/events{/privacy}","received_events_url":"https://api.github.com/users/filiph/received_events","type":"User","site_admin":false},"assignees":[{"login":"filiph","id":919717,"avatar_url":"https://avatars.githubusercontent.com/u/919717?v=3","gravatar_id":"","url":"https://api.github.com/users/filiph","html_url":"https://github.com/filiph","followers_url":"https://api.github.com/users/filiph/followers","following_url":"https://api.github.com/users/filiph/following{/other_user}","gists_url":"https://api.github.com/users/filiph/gists{/gist_id}","starred_url":"https://api.github.com/users/filiph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filiph/subscriptions","organizations_url":"https://api.github.com/users/filiph/orgs","repos_url":"https://api.github.com/users/filiph/repos","events_url":"https://api.github.com/users/filiph/events{/privacy}","received_events_url":"https://api.github.com/users/filiph/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-12-08T19:30:22Z","updated_at":"2016-12-08T20:20:32Z","closed_at":null,"body":"As an example of where this would be useful is when running the checker over https://webdev.dart-lang.org. We currently do not yet have an Angular guide for the Router, but we do have some Angular pages that already link into the (soon to be created) Router page. It would be great if we could whitelist links to the router page.\r\n\r\nAs an example the broken-link-checker has an [excludeKeywords](https://www.npmjs.com/package/broken-link-checker#optionsexcludedkeywords) option. We use it like this under angular.io (note the value of the `exclude` array variable):\r\n```js\r\ngulp.task('link-checker', () => {\r\n  var method = 'get'; // the default 'head' fails for some sites\r\n  var exclude = [\r\n    // Dart API docs aren't working yet; ignore them\r\n    '*/dart/latest/api/*',\r\n    // Somehow the link checker sees ng1 {{...}} in the resource page; ignore it\r\n    'resources/%7B%7Bresource.url%7D%7D',\r\n    // API docs have links directly into GitHub repo sources; these can\r\n    // quickly become invalid, so ignore them for now:\r\n    '*/angular/tree/*',\r\n    // harp.json \"bios\" for \"Ryan Schmukler\", URL isn't valid:\r\n    'http://slingingcode.com'\r\n  ];\r\n  var blcOptions = { requestMethod: method, excludedKeywords: exclude};\r\n  return linkChecker({ blcOptions: blcOptions });\r\n});\r\n```\r\n\r\ncc @kwalrath @kevmoo "},"comment":{"url":"https://api.github.com/repos/filiph/linkcheck/issues/comments/265844441","html_url":"https://github.com/filiph/linkcheck/issues/2#issuecomment-265844441","issue_url":"https://api.github.com/repos/filiph/linkcheck/issues/2","id":265844441,"user":{"login":"chalin","id":4140793,"avatar_url":"https://avatars.githubusercontent.com/u/4140793?v=3","gravatar_id":"","url":"https://api.github.com/users/chalin","html_url":"https://github.com/chalin","followers_url":"https://api.github.com/users/chalin/followers","following_url":"https://api.github.com/users/chalin/following{/other_user}","gists_url":"https://api.github.com/users/chalin/gists{/gist_id}","starred_url":"https://api.github.com/users/chalin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chalin/subscriptions","organizations_url":"https://api.github.com/users/chalin/orgs","repos_url":"https://api.github.com/users/chalin/repos","events_url":"https://api.github.com/users/chalin/events{/privacy}","received_events_url":"https://api.github.com/users/chalin/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T20:20:32Z","updated_at":"2016-12-08T20:20:32Z","body":"This is output from linkcheck (I updated the comment to clarify that)."}}
{"actor":{"display_login":"chalin"}}