3 ms·
I made a similar thing for myself, except that it parses Google' s HTML response and therefore has no limits, except for when Captcha is send, which the server
by jesprenj 5y ago
I made a similar thing for myself, except that it parses Google' s HTML response and therefore has no limits, except for when Captcha is send, which the server detects and redirects the client to another instance.
My code is a total messy hack, because I'm not really that good of a programmer yet.
Example instance: http://1426059603:7327/?q=search+engine+site%3Awikipedia.org http://1426059603:7327/?q=search+engine+site%3Awikipedia.org
I really didn't want to write this as an advertisement, lol (: I made it because my slow laptop can't handle Google's homepage (:
YaCy is also worth checking out, it's a peer to peer crawling network and search engine. Though it's really CPU and RAM hungry, so in fear of that and knowing that I do not know Java, I wrote my script in C with libxml2 for requesting HTTP/1.0 and parsing and libmicrohttpd for serving results.
- scumola 5y agoI'd be interested to see how you did this? Is the code available anywhere?
- crtasm 5y agoThere's a git repo linked at the bottom of the page.
- jesprenj 5y agoThe code is on a git repo linked at the bottom of the page. The interface is in Slovene, but code and README are in English. The interface is using preprocessor strings, defined in src/i18n.h, which can be edited. I'm requesting the very lightweight WAP website for the Nokia 6020 mobile phone. When I used this phone, I noticed Google sent a more lightweight page, but that was sometimes still too much for the phone to handle. Later on, I added h=yes&l=20 parameters for using this specific phone, so that links are rewritten to HTTP from HTTPS (which is unsupported on the phone) and limited to 20 results, because the phone can't handle that big of a website. Soon after I just went back to using a smartphone (: