Hello Riku & all,

I have scripted my lynxie bash script to a "better" one named slynxie 
(with the "S" for Search):
it does directly submit your search keys to Google and you can read
immediately the result page.

Just make it executable with  chmod +x slynxie
and  cp  it to ~/bin or /usr/local/bin/

At your prompt, enter:
slynxie Lynx+Google+Lynx-dev
(for example)
and hit ENTER 

See slynxie attachment.

Kind regards,

Osvaldo.

Le Thu, Oct 09, 2025 at 06:01:58PM +0300, Riku Virtanen a écrit :
> Hi Osvaldo,
> 
> 
> Thank you a lot! With your help, Google works again.
> Only funny problem: I do not know how I should use bash?
> I tried to run it as a command or program, not work only:
> /home/riku/lynxie
> 
> I tested to write straight to command line (in Fedora)
> /usr/bin/lynx -force_html -useragent=InternetExplorer -accept_all_cookies
> -nobold -nocolor -tagsoup -trim_blank_lines -hiddenlinks=merge $1
> 
> And it opened lynx which opens Google search without a problem.
> 
> Riku
> 
> On Thu, 9 Oct 2025, Osvaldo La rosa aka Aldo wrote:
> 
> > Hello,
> > 
> > I just tried a simple Bash script that seem to work but I'm absoluutely not
> > sure it will for all results given by Google.
> > 
> > How does it works ?
> > 1- I launch my script called lynxie
> >   (so called because of the built-in user agent)
> > 2- followed by http://google.com/search?q=Resolved+Lynx+with+Google
> >   (or Ubuntu since this is my current distro, or any other word1+word2+etc)
> > 
> > I obtained until now the result page shown in Lynx and I was able to click a
> > link.
> > 
> > Cf. 4 attachments:
> > 2 serach?q txts
> > 1 feedback txt for link 20
> > 1 bash script called lynxie.
> > 
> > I am supposing it would be nice to be able to combine curl or wget / axel
> > with lynx to get searches directly submitted to G00g but results directly
> > showed on a Lynx page.
> > 
> > Hope this contrib helps, or bring some people here to much more ideas to
> > give a try!
> > 
> > Kind regards,
> > Osvaldo La Rosa
> > aka
> > Aldo.
> > 
> > 
> > Le Mon, Oct 06, 2025 at 11:42:11PM +0300, Riku Virtanen a écrit :
> > > Hi,
> > > 
> > > I wanted to use Google search and changed user agent to
> > > Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) | AppleWebKit/536.26
> > > (KHTML, like Gecko) Version/6.0 Mobile/10A5376e | Safari/8536.25
> > > 
> > > Google then opened its search box.
> > > I typed a word I wanted to search and went ahead.
> > > Then Google immediately said the browser is not supported.
> > > Seemly Google has changed something after 10th of September.
> > > 
> > > Riku
> > > 
> > 
> > 


-- 
  |  Verstuurd vanaf mijn GNU/Linux  |  Envoyé de mon GNU/Linux  | 
  |  -----------------  Sent from GNU/Linux  ------------------  | 
#!/bin/bash
# 
# Search @ Google with LYNX + user-agent IE - OLR - 10-10-2025 - Public 
# 
# Var: 
# - default Google Search URL:
DEFURL="http://www.google.com/search?q=";
# - default web browser with options: 
DEFWB="/usr/bin/lynx -force_html -useragent=InternetExplorer 
-accept_all_cookies -nobold -nocolor -tagsoup -trim_blank_lines 
-hiddenlinks=merge"
# 
# Running ! 
clear 
echo "SLYNXIE !
 " 
test -z "$1" && echo "   Usage: slynxie SearchKey1+SearchKey2+... " && echo " " 
&& exit 
echo " 
Running lynx $DEFURL$1
 "
sleep 10
$DEFWB $DEFURL$1
exit
# 
# End of script. 
  • [L... Riku Virtanen
    • ... Osvaldo La rosa aka Aldo via Lynx-dev via Lynx text browser development
      • ... Osvaldo La rosa aka Aldo via Lynx-dev
      • ... Osvaldo La rosa aka Aldo via Lynx-dev
    • ... Morten Bo Johansen
    • ... Riku Virtanen
      • ... Morten Bo Johansen
      • ... Morten Bo Johansen
        • ... xuser via Lynx-dev
          • ... Osvaldo La Rosa aka Aldo via Lynx-dev
    • ... Riku Virtanen
      • ... Morten Bo Johansen
        • ... Morten Bo Johansen
          • ... Steffen Nurpmeso

Reply via email to