зеркало из https://github.com/microsoft/ghcrawler.git
Filter out azure-docs-pr repos
This commit is contained in:
Родитель
34748e9cc1
Коммит
31447f884a
|
@ -589,7 +589,7 @@ class Crawler {
|
|||
|
||||
// This is currently Microsoft-specific. https://github.com/Microsoft/ghcrawler/issues/109
|
||||
_testRegex(request) {
|
||||
const patterns = [/[.|-]handoff/, /handback/, /\/azure-content-/, /\/acom\//];
|
||||
const patterns = [/[.|-]handoff/, /handback/, /\/azure-content-/, /\/azure-docs-pr/, /\/acom\//];
|
||||
return patterns.some(pattern => pattern.test(request.url));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче