Thanks Benji,
It returns the results using an ip address - not the google domain.
This means IPCop bans it :-(
Thanks for the suggestion though. In actual fact the googleCacheServer
works quite well.
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python/weblog
--
http://mail.python.org/mailm
Fuzzyman wrote:
The trouble is the current policy is 'whitelist only'... so I need the
proxy installed on a server that is *on the whitelist*... which will
take a little time to arrange.
If you construct a noop translation (English to English for example)
Google becomes a (HTML only) proxy. Here'
vegetax wrote:
> Fuzzyman wrote:
>
> > Of course - sorry. Thanks for the fix. Out of interest - why are
you
> > using this... just for curiosity, or is it helpful ?
>
> because is fun to surf on the google cache, =)
Ha - cool ! The bizarre thing is, that for me it's actually useful. I
doubt anyon
Fuzzyman wrote:
> Of course - sorry. Thanks for the fix. Out of interest - why are you
> using this... just for curiosity, or is it helpful ?
because is fun to surf on the google cache, =)
--
http://mail.python.org/mailman/listinfo/python-list
The difficulty is 'on some other machine'... there's a fantastic python
CGI proxy called approx -
http://www.voidspace.org.uk/python/cgi.shtml#approx
The trouble is the current policy is 'whitelist only'... so I need the
proxy installed on a server that is *on the whitelist*... which will
take a l
Note - there are a couple of *minor* chanegs to this. See the online
python cookbok, the thread on comp.lang.python or
http://www.voidspace.org.uk/python/weblog/index.shtml
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> (This is actually an 'inventive' short term measure to get round a
> restrictive internet policy at work :-)
If that means what I think, you're better off setting up a
url-rewriting proxy server on some other machine, that uses SSL on the
browser side. There's one wri
Of course - sorry. Thanks for the fix. Out of interest - why are you
using this... just for curiosity, or is it helpful ?
Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
> Add the follwoing two lines to the start of the code :
>
> import urllib2
> txheaders = { 'User-agent' : 'Mozilla/4.0 (compatible; MSIE 6.0;
> Windows NT 5.1; SV1; .NET CLR 1.1.4322)' }
>
> Then change the start of the send_head method to this :
>
> def send_head(self):
>
Another change - change the line `dotloc = url.find('.') + 1` to
`dotloc = url.rfind('.') + 1`
This makes it find the last '.' in the url
Best Regards,
Fuzzy
http://www.voidspace.org.uk/python
--
http://mail.python.org/mailman/listinfo/python-list
vegetax wrote:
> it works on opera and firefox on linux, but you cant search in the
cached
> google! it would be more usefull if you could somehow search "only"
in the
> cache instead of putting the straight link. maybe you could put a
magic url
> to search in the cache, like search:"search terms"
it works on opera and firefox on linux, but you cant search in the cached
google! it would be more usefull if you could somehow search "only" in the
cache instead of putting the straight link. maybe you could put a magic url
to search in the cache, like search:"search terms"
[EMAIL PROTECTED] wrot
[EMAIL PROTECTED] wrote:
lol ,cool hack!! make a slashdot article about it!!
> I've hacked together a 'GoogleCacheServer'. It is based on
> SimpleHTTPServer. Run the following script (hopefully google groups
> won't mangle the indentation) and set your browser proxy settings to
> 'localhost:8000'
I've hacked together a 'GoogleCacheServer'. It is based on
SimpleHTTPServer. Run the following script (hopefully google groups
won't mangle the indentation) and set your browser proxy settings to
'localhost:8000'. It will let you browse the internet using google's
cache. Obviously you'll miss image
14 matches
Mail list logo