[Surfraw-commits] [SCM] surfraw - a fast unix command line interface to WWW branch, master, updated. surfraw_2-2-5_1-195-g45f7296

Ian Beckwith ianb at erislabs.net
Tue Jun 14 04:14:22 UTC 2011


The following commit has been merged in the master branch:
commit 45f72961341fef3aa838b4b11850aee350db6477
Author: Ian Beckwith <ianb at erislabs.net>
Date:   Tue Jun 14 05:14:11 2011 +0100

    removed filesearching elvi, refuses to work without refer[r]er header

diff --git a/ChangeLog b/ChangeLog
index 0e53510..ba93134 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,7 +6,10 @@
 	  codesearch has gone all ajaxy, so I've implemented the options
 	  via the search string, e.g. adding " package:foo".
 	  Disabled codesearch.test, as it now needs javascript.
-	* Tweak debian packaging.
+	* Removed filesearching elvi, it now requires a 'Referer:' header
+	  to work. There is no browser-portable way to specify a
+	  'Refer[r]er:' header, plus we should probably take it as a hint.
+	* Tweaked debian packaging.
 
 2011-06-13  Ian Beckwith  <ianb at erislabs.net>
 
diff --git a/NEWS b/NEWS
index 2e1fdb7..3aebbda 100644
--- a/NEWS
+++ b/NEWS
@@ -60,6 +60,7 @@ Tue Jun 14 05:02:11 BST 2011  - surfraw 2.2.8
 	  + cddb: gracenote made the "hard decision" to remove the
 	    website search. sigh.
 	  + fast: another yahoo front-end.
+	  + filesearching: refuses to work without 'Referer:' header.
 	  + port: site gone
 	* Support -local-help, --local-help or -lh to get elvi-specific
 	  help without displaying the global options. This works for
diff --git a/README b/README
index 124ef22..95184a1 100644
--- a/README
+++ b/README
@@ -198,7 +198,6 @@ duckduckgo      -- Securely search the web using duckduckgo (www.duckduckgo.com)
 ebay            -- Search the Ebay auction site
 etym            -- Look up word origins at www.etymonline.com
 excite          -- Search on Excite (www.excite.com)
-filesearching   -- Search files on filesearching (www.filesearching.com)
 finkpkg         -- Search Fink packages (pdb.finkproject.org)
 foldoc          -- The Free On-Line Dictionary Of Computing (foldoc.org)
 freebsd         -- Search FreeBSD related information (www.freebsd.org)
diff --git a/elvi/Makefile.am b/elvi/Makefile.am
index 676e5f6..a3e8120 100644
--- a/elvi/Makefile.am
+++ b/elvi/Makefile.am
@@ -47,7 +47,6 @@ dist_elvi_SCRIPTS	= \
 		  etym \
 		  excite \
 		  foldoc \
-		  filesearching \
 		  finkpkg \
 		  freebsd \
 		  freedb \
diff --git a/elvi/filesearching b/elvi/filesearching
deleted file mode 100755
index a4bae9b..0000000
--- a/elvi/filesearching
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# $Id$
-# elvis: filesearching	-- Search files on filesearching (www.filesearching.com)
-. surfraw || exit 1
-
-w3_usage_hook () {
-    cat <<EOF
-Usage: $w3_argv0 [options] [search words]...
-Description:
-  Surfraw search files on www.filesearching.com (www.filesearching.com)
-EOF
-    w3_global_usage
-}
-
-w3_config
-w3_parse_args "$@"
-# w3_args now contains a list of arguments
-if test -z "$w3_args"; then
-    w3_browse_url "http://"www.filesearching.com/advanced/""
-else
-    escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "http://www.filesearching.com/cgi-bin/s?q=${escaped_args}&t=f&d=&l=en&x=22&y=15"
-fi
diff --git a/links.IN b/links.IN
index 393ad62..9e09734 100644
--- a/links.IN
+++ b/links.IN
@@ -42,7 +42,6 @@ elvi.1sr.gz @mandir@/man1/duckduckgo.1sr.gz
 elvi.1sr.gz @mandir@/man1/ebay.1sr.gz
 elvi.1sr.gz @mandir@/man1/etym.1sr.gz
 elvi.1sr.gz @mandir@/man1/excite.1sr.gz
-elvi.1sr.gz @mandir@/man1/filesearching.1sr.gz
 elvi.1sr.gz @mandir@/man1/finkpkg.1sr.gz
 elvi.1sr.gz @mandir@/man1/foldoc.1sr.gz
 elvi.1sr.gz @mandir@/man1/freebsd.1sr.gz
diff --git a/test/Makefile.am b/test/Makefile.am
index 8beaa6b..2a0dd32 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,23 +8,23 @@ EXTRA_DIST = runtests elviwithouttests README COOKIES W.test		\
 	deblogs.test debpackages.test debpkghome.test debpts.test	\
 	debsec.test debvcsbrowse.test debwiki.test deja.test		\
 	deli.test discogs.test dmoz.test duckduckgo.test ebay.test	\
-	etym.test excite.test filesearching.test finkpkg.test		\
-	foldoc.test freebsd.test freedb.test freshmeat.test		\
-	fsfdir.test gcache.test genbugs.test genportage.test		\
-	google.test gutenberg.test happypenguin.test imdb.test		\
-	ixquick.test jamendo.test javasun.test lastfm.test		\
-	leodict.test l1sp.test lsm.test macports.test mathworld.test	\
-	mininova.test musicbrainz.test netbsd.test ntrs.test		\
-	openbsd.test openports.test opensearch.test pasearch.test	\
-	piratebay.test pgpkeys.test pubmed.test rae.test rfc.test	\
-	rhyme.test rpmsearch.test scholar.test scicom.test		\
-	scitopia.test scirus.test scpan.test scroogle.test		\
-	slashdot.test slinuxdoc.test sourceforge.test springer.test	\
-	stack.test stockquote.test sunonesearch.test thesaurus.test	\
-	translate.test urban.test w3css.test w3html.test w3link.test	\
-	w3rdf.test wayback.test webster.test wetandwild.test		\
-	wikipedia.test woffle.test worldwidescience.test yahoo.test	\
-	yandex.test youtube.test yubnub.test
+	etym.test excite.test finkpkg.test foldoc.test freebsd.test	\
+	freedb.test freshmeat.test fsfdir.test gcache.test		\
+	genbugs.test genportage.test google.test gutenberg.test		\
+	happypenguin.test imdb.test ixquick.test jamendo.test		\
+	javasun.test lastfm.test leodict.test l1sp.test lsm.test	\
+	macports.test mathworld.test mininova.test musicbrainz.test	\
+	netbsd.test ntrs.test openbsd.test openports.test		\
+	opensearch.test pasearch.test piratebay.test pgpkeys.test	\
+	pubmed.test rae.test rfc.test rhyme.test rpmsearch.test		\
+	scholar.test scicom.test scitopia.test scirus.test scpan.test	\
+	scroogle.test slashdot.test slinuxdoc.test sourceforge.test	\
+	springer.test stack.test stockquote.test sunonesearch.test	\
+	thesaurus.test translate.test urban.test w3css.test		\
+	w3html.test w3link.test w3rdf.test wayback.test webster.test	\
+	wetandwild.test wikipedia.test woffle.test			\
+	worldwidescience.test yahoo.test yandex.test youtube.test	\
+	yubnub.test
 
 test:
 	./runtests
diff --git a/test/filesearching.test b/test/filesearching.test
deleted file mode 100644
index 0d5a50f..0000000
--- a/test/filesearching.test
+++ /dev/null
@@ -1,2 +0,0 @@
-filesearching irefox
-firefox

-- 
surfraw -  a fast unix command line interface to WWW



More information about the Surfraw-commits mailing list