Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Skipping png and pdf files.

Piotr Kosiorowski29d2ad408d40
diff --git a/conf/crawl-urlfilter.txt.template b/conf/crawl-urlfilter.txt.template
index cf5f3c7eb..156be398d 100644
--- a/conf/crawl-urlfilter.txt.template
+++ b/conf/crawl-urlfilter.txt.template
@@ -12,7 +12,7 @@
-^(file|ftp|mailto):
# skip image and other suffixes we can't yet parse
--\.(gif|GIF|jpg|JPG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe)$
+-\.(gif|GIF|jpg|JPG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe|png|PNG|pdf|PDF)$
# skip URLs containing certain characters as probable queries, etc.
-[?*!@=]