Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-305

Sami Siren34067f78852c
diff --git a/CHANGES.txt b/CHANGES.txt
index 5e14ddcdb..dd4ec27b3 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -85,6 +85,10 @@ Unreleased changes (0.9-dev)
28. NUTCH-362 - Remove parse-text from unsupported filetypes in
parse-plugins.xml (siren)
+
+29. NUTCH-305 - Update crawl and url filter lists to exclude
+ jpeg|JPEG|bmp|BMP, suffix-urlfilter.txt (contributed by Stefan
+ Neufeind) is also updated (siren)
Release 0.8 - 2006-07-25
diff --git a/conf/crawl-urlfilter.txt.template b/conf/crawl-urlfilter.txt.template
index 5b487076e..bda08e644 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|png|PNG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe)$
+-\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe|jpeg|JPEG|bmp|BMP)$
# skip URLs containing certain characters as probable queries, etc.
-[?*!@=]
diff --git a/conf/regex-urlfilter.txt.template b/conf/regex-urlfilter.txt.template
index 1de33630e..f21a757a6 100644
--- a/conf/regex-urlfilter.txt.template
+++ b/conf/regex-urlfilter.txt.template
@@ -10,7 +10,7 @@
-^(file|ftp|mailto):
# skip image and other suffixes we can't yet parse
--\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe)$
+-\.(gif|GIF|jpg|JPG|png|PNG|ico|ICO|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|MOV|exe|jpeg|JPEG|bmp|BMP)$
# skip URLs containing certain characters as probable queries, etc.
-[?*!@=]
diff --git a/conf/suffix-urlfilter.txt b/conf/suffix-urlfilter.txt
index 86ac27241..49a881892 100644
--- a/conf/suffix-urlfilter.txt
+++ b/conf/suffix-urlfilter.txt
@@ -3,9 +3,87 @@
# case-insensitive, allow unknown suffixes
+I
-# prohibit these
+### prohibit these
+# pictures
.gif
.jpg
.jpeg
.bmp
.png
+.tif
+.tiff
+.ico
+.eps
+.ps
+.wmf
+.fpx
+.cur
+.ani
+.img
+.lwf
+.pcd
+.psp
+.psd
+.tga
+.xbm
+.xpm
+
+# web-formats
+.css
+
+# archives/packages
+.arj
+.arc
+.7z
+.cab
+.lzw
+.lha
+.lzh
+.zip
+.gz
+.tar
+.tgz
+.sit
+.rpm
+.deb
+.pkg
+
+# audio/video
+.mid
+.midi
+.rmi
+.mpeg
+.mpg
+.mpe
+.mp3
+.mp2
+.aac
+.mov
+.fla
+.flv
+.ra
+.ram
+.rm
+.rmv
+.wma
+.wmv
+.wav
+.wave
+.ogg
+.avi
+.au
+.snd
+
+# executables
+.exe
+.com
+
+# windows links
+.lnk
+
+# typo3-extensions
+.t3x
+
+# disc-images
+.iso
+.bin