Your message dated Tue, 06 Jun 2006 19:49:41 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#369037: fixed in snarf 7.0-5
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: snarf
Version: 7.0-3
Severity: normal
Tags: patch
$ snarf http://www.google.com/search\?q=futility
error: HTTP error from server: HTTP/1.0 403 Forbidden
$ snarf -z http://www.google.com/search\?q=futility
http://www.google.com/search?q=futility (unknown size)
search?q=futility [|] 14K
15052 bytes transferred in 2.63 sec (5.59k/sec)
$
Unbelievable. And these are the "don't be evil" people?
diff -u snarf-7.0.orig/http.c snarf-7.0/http.c
--- snarf-7.0.orig/http.c 2000-08-08 19:33:30.000000000 -0500
+++ snarf-7.0/http.c 2006-05-26 17:47:14.000000000 -0500
@@ -222,6 +222,17 @@
request = strconcat(request, "User-Agent: ", NULL);
+ /* How silly of google to blacklist snarf by User-Agent.
+ Well, we can be silly too. */
+ if (!(rsrc->options & (OPT_BE_MOZILLA|OPT_BE_MSIE))) {
+ if (!strcmp(u->host, "google.com") ||
+ (strlen(u->host) > strlen("google.com") &&
+ !strcmp(u->host+(strlen(u->host)-strlen("google.com"))-1,
+ ".google.com"))) {
+ rsrc -> options |= OPT_BE_MOZILLA;
+ }
+ }
+
if (getenv("SNARF_HTTP_USER_AGENT")) {
request = strconcat(request, getenv("SNARF_HTTP_USER_AGENT"),
NULL);
-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.16.14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages snarf depends on:
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: snarf
Source-Version: 7.0-5
We believe that the bug you reported is fixed in the latest version of
snarf, which is due to be installed in the Debian FTP archive:
snarf_7.0-5.diff.gz
to pool/main/s/snarf/snarf_7.0-5.diff.gz
snarf_7.0-5.dsc
to pool/main/s/snarf/snarf_7.0-5.dsc
snarf_7.0-5_i386.deb
to pool/main/s/snarf/snarf_7.0-5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Noah Meyerhans <[EMAIL PROTECTED]> (supplier of updated snarf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 6 Jun 2006 22:32:16 -0400
Source: snarf
Binary: snarf
Architecture: source i386
Version: 7.0-5
Distribution: unstable
Urgency: low
Maintainer: Noah Meyerhans <[EMAIL PROTECTED]>
Changed-By: Noah Meyerhans <[EMAIL PROTECTED]>
Description:
snarf - A command-line URL grabber
Closes: 352450 369037
Changes:
snarf (7.0-5) unstable; urgency=low
.
* Apply patch from Alan Curry <[EMAIL PROTECTED]> to use a different
user agent when talking to Google, since they are denying access to
the standard snarf user agent. (Closes: Bug#369037)
* Apply patch from "Ulf Harnhammar" <[EMAIL PROTECTED]> to avoid
crashing when we get an invalid response to the PASV command from an
FTP server. (Closes: Bug#352450)
* Update policy to version 3.7.2.
* Update DH_COMPAT to 5.
Files:
9fbcdcf004a38e3f61d537fc6c9367de 546 net optional snarf_7.0-5.dsc
d306ec929b852f5a7b52df4aeeb0813c 3209 net optional snarf_7.0-5.diff.gz
9f927966a47d9a861618c64ebb908f95 21818 net optional snarf_7.0-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEhjzlYrVLjBFATsMRAnyiAJ9OESgWP2/lYKFqO858KUtqdQ38NACfYFnS
dBqfHibyaKJxNDVPlSKWDGw=
=zKr9
-----END PGP SIGNATURE-----
--- End Message ---