diff --git a/node-scripts/checkBrokenLinks.js b/node-scripts/checkBrokenLinks.js index 9558a64f9..301100f5f 100644 --- a/node-scripts/checkBrokenLinks.js +++ b/node-scripts/checkBrokenLinks.js @@ -46,13 +46,11 @@ const urlChecker = new blc.SiteChecker( return; } - // legifrance too slow - if (result.url.original.indexOf('www.legifrance.gouv.fr') > -1) { - return; - } - - // linkedin pain in the *** - if (result.url.original.indexOf('www.linkedin.com') > -1) { + if ( + result.url.original.indexOf('www.legifrance.gouv.fr') > -1 || + result.url.original.indexOf('www.linkedin.com') > -1 || + result.url.original.indexOf('twitter.com') > -1 + ) { return; }