Apache Nutch is an extensible and scalable web crawler
Add an automaton urlfilter rules template
Jerome Charron6de6a15db937
diff --git a/conf/automaton-urlfilter.txt.template b/conf/automaton-urlfilter.txt.templatenew file mode 100644index 000000000..dfae8b057--- /dev/null+++ b/conf/automaton-urlfilter.txt.template@@ -0,0 +1,19 @@+# The default url filter.+# Better for whole-internet crawling.++# Each non-comment, non-blank line contains a regular expression+# prefixed by '+' or '-'. The first matching pattern in the file+# determines whether a URL is included or ignored. If no pattern+# matches, the URL is ignored.++# skip file: ftp: and mailto: urls+-(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)++# skip URLs containing certain characters as probable queries, etc.+-.*[?*!@=].*++# accept anything else++.*