Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #232081

Re: Looking for a "text mode browser" (good description????)

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Looking for a "text mode browser" (good description????)
Date 2021-02-25 14:20 +0100
Message-ID <BMoIF-3oQ-1@gated-at.bofh.it> (permalink)
References <BMofD-2Zh-1@gated-at.bofh.it> <BMopj-32u-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, Feb 25, 2021 at 03:50:32PM +0300, IL Ka wrote:
> >
> >
> > I would like to pipe search results to a text processor.
> >
> Do you want rendered results or plain HTML ?
> In latter case you need ``wget``

To expand on that, perhaps

  wget -O - <your URL here> | html2text

tries to make sense of the html (which isn't always possible) and
output some text version of it. The "-O -" tells wget to send its
output to stdout (instead of to a file).

You get html2text from the like-named package, html2text.

For duckduckgo, you'll get better results by using its non-Javascript
URL:

  https://html.duckduckgo.com/html?q=<your query string here>

(Duckduckgo will try to redirect your wget to that, but according to
some scant testing by me, it doesn't seem to work).

Cheers
 - t

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 13:50 +0100
  Re: Looking for a "text mode browser" (good description????) The Wanderer <wanderer@fastmail.fm> - 2021-02-25 13:50 +0100
    Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 14:20 +0100
      Re: Looking for a "text mode browser" (good description????) Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-02-25 14:50 +0100
  Re: Looking for a "text mode browser" (good description????) IL Ka <kazakevichilya@gmail.com> - 2021-02-25 14:00 +0100
    Re: Looking for a "text mode browser" (good description????) <tomas@tuxteam.de> - 2021-02-25 14:20 +0100
      Re: Looking for a "text mode browser" (good description????) Greg Wooledge <greg@wooledge.org> - 2021-02-25 14:30 +0100
        Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 15:50 +0100
    Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 14:40 +0100
      Re: Looking for a "text mode browser" (good description????) Kent West <westk@acu.edu> - 2021-02-25 14:50 +0100
        Re: Looking for a "text mode browser" (good description????) Karen Lewellen <klewellen@shellworld.net> - 2021-02-25 23:50 +0100
      Re: Looking for a "text mode browser" (good description????) John Hasler <jhasler@newsguy.com> - 2021-02-25 15:00 +0100
        Re: Looking for a "text mode browser" (good description????) "James B" <portoteacher80@fastmail.com> - 2021-02-25 15:50 +0100
          Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 16:00 +0100
            Re: Looking for a "text mode browser" (good description????) The Wanderer <wanderer@fastmail.fm> - 2021-02-25 16:10 +0100
              Re: Looking for a "text mode browser" (good description????) "James B" <portoteacher80@fastmail.com> - 2021-02-25 16:20 +0100
              Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 16:40 +0100
                Re: Looking for a "text mode browser" (good description????) The Wanderer <wanderer@fastmail.fm> - 2021-02-25 16:50 +0100
                Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 17:20 +0100
                Re: Looking for a "text mode browser" (good description????) Felix Miata <mrmazda@earthlink.net> - 2021-02-25 23:50 +0100
                Re: Looking for a "text mode browser" (good description????) Andrei POPESCU <andreimpopescu@gmail.com> - 2021-02-26 13:30 +0100
                Re: Looking for a "text mode browser" (good description????) rhkramer@gmail.com - 2021-02-26 14:50 +0100
                Re: Looking for a "text mode browser" (good description????) David Wright <deblis@lionunicorn.co.uk> - 2021-02-26 01:30 +0100
            Re: Looking for a "text mode browser" (good description????) Michael Howard <mike@dewberryfields.co.uk> - 2021-02-25 16:10 +0100
      Re: Looking for a "text mode browser" (good description????) Joe <joe@jretrading.com> - 2021-02-25 16:20 +0100
  Re: Looking for a "text mode browser" (good description????) <tomas@tuxteam.de> - 2021-02-25 14:10 +0100
  Re: Looking for a "text mode browser" (good description????) David <bouncingcats@gmail.com> - 2021-02-25 14:10 +0100
    Re: Looking for a "text mode browser" (good description????) Richard Owlett <rowlett@cloud85.net> - 2021-02-25 14:40 +0100

csiph-web