Questions tagged [lynx]

Lynx is a cross platform, GPL licensed, text-mode web browser.

Filter by
Sorted by
Tagged with
0 votes
2 answers
119 views

How to open several local (HTML) documents in lynx?

I was planning to use lynx for reading all local HTML files in a folder: lynx ~/Documents/webpages/* I don't know how to move beyond the first document. Quitting with qq exits the program and returns ...
1 vote
1 answer
80 views

How to get around 403 errors on websites with text-based browsers?

The issue seems to stem from a misconfigured web server and has affected some domains I've came across in lynx and w3m, but links can access at least in some instances. Can this be resolved on the ...
0 votes
1 answer
73 views

Is it possible to multiple login on the same server with wget?

The aim is to enter different accounts at the same time. With lynx this is possible using files for each account with the -cfg=~/file argument. wget has a .wgetrc file that can be configured with: ...
-7 votes
1 answer
140 views

What is the difference between lynx and pandoc? [closed]

In this thread I was suggested to do an action with lynx or pandoc. To my understanding, both programs can output an all backend and solely or primarily textual webpage, in console, pretty much as ...
  • 115
0 votes
0 answers
23 views

Using external downloader with lynx

lynx has Downloader variable Can anyone know how can we setup lynx to download files using aria2c
's user avatar
1 vote
0 answers
159 views

Using vim as default text editor for lynx

I want to use vim as the text editor while opening a website using lynx. How do I do it? I see a switch present in lynx as -editor=EDITOR but giving -editor=vim makes no difference to lynx.
3 votes
1 answer
287 views

Downloading file using command line tool in Linux VM which requires sign-in

Environment: Linux VM which I have access only through command line console. Goal: I need to download the file: https://download.nlm.nih.gov/umls/kss/2020AA/umls-2020AA-full.zip Unlike typical ...
-1 votes
1 answer
52 views

Lynx Ubuntu problem

I encountered a tiny problem - my teacher suggested using lynx -dump to get website in file but for some reason, it 'returns' the previous state of the website. And if I disable the -dump option then ...
  • 101
0 votes
3 answers
2k views

Lynx browser no cookie prompt

How can i turn off cookie prompts and disallow cookies in the Lynx browser? Here is my .lynxrc: ACCEPT_ALL_COOKIES:FALSE SET_COOKIES:FALSE Thanks
  • 173
0 votes
1 answer
267 views

How do you map the "shift + space bar" keystroke command in the Lynx browser?

I've been reading through documentation and sample configurations of the Lynx text-based browser to learn how to map a key to a command in Lynx. I learned that the space bar key can be used to page ...
0 votes
1 answer
307 views

Extracting ALL links from soundcloud page using lynx browser

To extract urls from a site, it is usually enough to run: lynx -dump -listonly https://soundcloud.com/grubstakers > urls.txt But I get only the latest episodes, instead of the urls of all of them ...
11 votes
3 answers
19k views

Console browser for Centos 8

What console browser work under Centos 8? I tried to install them all but sudo yum -y install lynx w3m links elinks links2 netrik No match for argument: lynx No match for argument: w3m No match for ...
  • 135
1 vote
0 answers
253 views

Browse the internet from the command line

I know there are command-line web browsers like w3m lynx etc. But I am looking for a simpler tool to just print search queries. Somewhat like curl does, but more nicely formatted. Like if I run https:...
  • 4,918
0 votes
1 answer
971 views

lynx proxy authorization

A number of scripts on my system are relying on lynx which in turn can't pass through my proxy. More specifically, lynx successfully picks up the global proxy settings except the user id and password ...
  • 111
1 vote
1 answer
281 views

Does w3m support input type="file" form fields?

I am trying to figure out a simple way to submit a file stored on a distant Ubuntu server to an HTML form on the web. The form uses <input type="file"> field. This seems to be not supported by ...
1 vote
2 answers
461 views

Allow invalid path lynx

I have installed lynx using brew on macOS. It runs decently after me enabling all cookies http://www.pc-freak.net/blog/how-to-permanently-enable-cookies-in-lynx-text-browser-disable-accept-cookies-...
  • 961
0 votes
1 answer
201 views

How to get lynx to recognize whitespace in filenames

I'm using a script to find a list of all .pdf files on a url. But lynx seems to have a problem with spaces in filenames. Here's the script: lynx --dump http://www.somesite/here/ | awk '/http/{print $...
  • 159
2 votes
1 answer
896 views

Text file being identified as binary

Background I've been using lynx for a couple of years to dump automatically (via cron), process (using awk, sed, and tr), then mail (bsd-mailx) the contents of a web page. It's been working pretty ...
  • 361
2 votes
1 answer
1k views

How to download a web page content to a text file exactly as the web page is?

I am trying to extract some info from a web page. Imagine you have a name given to you (Northcentral Siberia, Russia) and want to extract whole line containing this name from a web page. To handle ...
25 votes
2 answers
3k views

What is the official website for the lynx, text based webbrowser?

The: http://lynx.isc.org/ is not loading. Is it the https://lynx.invisible-island.net/ what is the official for the "lynx", the text-based webbrowser?
  • 541
1 vote
2 answers
169 views

Install and configure dolibarr process for AWS? [closed]

Getting to know AWS -- it's interesting. Running 16.04 xenial on AWS and looking to install dolibarr. On 17.10, where I have a GUI, dolibarr installs fine. Few questions about running web servers/...
  • 1,750
1 vote
2 answers
831 views

Different output from lynx -dump when run as cron job

For a couple of years now I've been "scraping," using lynx -dump, content from a web page containing non-latin characters. I save the page content to a file, which I then modify via the agency of sed, ...
  • 361
1 vote
1 answer
3k views

Why `lynx --dump` is not working

When I do lynx --dump http://data.iana.org/TLD/tlds-alpha-by-domain.txt It outputs the content on this web page but when I do lynx --dump https://code.wireshark.org/review/gitweb?p=wireshark.git;a=...
1 vote
1 answer
1k views

curl wget - How to ignore the HTML Tag and headers [duplicate]

How to get only the content for web page what I see in browser... I don't want the headers and any HTML tag.. exp- http://www.linfo.org/cat.html.. I want only the content.. Please help
  • 31
0 votes
1 answer
1k views

Getting WISPr tags from a FON authentication portal

I am doing some investigation around wifi captive portals development. I would like to capture the WiSPr XML tags from a FON authentication captive portal (my neighbours have that active, I have ...
3 votes
2 answers
9k views

Lynx: "can't access start file" ... and quits

I tried using lynx (the text browser) and got the error: Can't access startfile: http://lynx.isc.org and then it quit (doh). So, the error message would seem to be incorrect because the problem is ...
  • 5,481
0 votes
1 answer
1k views

Use Lynx to download the source of the page I'm currently on

If I have a page open in Lynx, how can I download the source (HTML) of it?
  • 641
1 vote
3 answers
12k views

Lynx thinks all certificates are untrusted with my configuration file

I am trying to visit what I'm assuming is a valid ssl-certified page, https://google.com, but lynx always says SSL error:The certificate is NOT trusted. The certificate is...-Continue? (n) I haven't ...
3 votes
2 answers
2k views

UTF-8 input in Lynx

In the web browser Lynx I have managed to make non-ASCII character display correctly with the setting CHARACTER_SET:UNICODE (UTF-8) in /etc/lynx-cur/lynx.cfg. I also tried ASSUME_CHARSET, it makes ...
1 vote
1 answer
2k views

how to use lynx to "print" a web page? WYSIWYG

When I printed a page, as per the manual: Printing, Mailing, and Saving rendered files to disk. Rendered HTML documents, and plain text files, may be printed using the 'p' command while ...
  • 1,750
3 votes
2 answers
5k views

Lynx read urls from file and download links

I have 500 urls on my file. I need to extract all the links which appear on these urls. How to read file with Lynx and extract links within the file ? Sample of file.txt below, 1 link per row and ...
3 votes
0 answers
630 views

Accessing Dropbox login page through lynx / elinks via ssh on aws

I'm trying to install Dropbox in an entirely text-based Linux environment, following the instructions available on Dropbox wiki, which states: Use a command-line browser (lynx) Navigate to the ...
  • 303
3 votes
1 answer
2k views

Lynx colors not applied

I have a lynx configuration file in ~/.lynx.cfg. To make lynx use it, I have in my environment $LYNX_CFG pointing at that file. Content: # Default COLOR:0:black:white # Hyperlinks COLOR:1:black:...
  • 349
1 vote
2 answers
1k views

Command line rebooting D-Link DWL-2100AP access point

I use Lynx web browser from remote SSH (so I have no GUI) to enter into the web interface of some router and access points. It works fine with some Ovislink and Buffalo models I have tested, but it ...
1 vote
2 answers
4k views

How can I convert all the html files I get into text files after a wget command?

How can I convert all the html files I get into plain text files after a wget command? I'm thinking of using lynx to convert html files into ".txt" files, getting rid of tags. I have this snippet ...
  • 741
13 votes
1 answer
7k views

How to pipe html into lynx?

I am testing some ajax call from the console. I like get rid of the meta-information noise that is html markup and just read the content, hence I like to pipe it into a terminal browser, e.g. lynx. ...
  • 13.7k
1 vote
2 answers
888 views

Prevent Lynx from using pdf viewer

I try to download a PDF file while browsing with lynx. Unfortunately, lynx tries to open that file immediately using a PDF viewer (evince) though I do not have an X server running. How can I prevent ...
  • 173
5 votes
2 answers
3k views

Change default web browser to lynx from terminal

I'm on Linux Mint Olivia. I just installed Lynx. How do I set Lynx as my browser, so when I open links from the terminal, they open in that terminal with Lynx?
5 votes
4 answers
14k views

Get page in curl as text

Is there any option for curl that saves a page as text? I mean, in the same way a page can be saved in browser as Text Files. At least, Firefox has that option. I need it for a script, I simply ...
  • 1,085
1 vote
1 answer
405 views

Curl or Lynx: stripping Javascript possible?

I am doing corpus generation through curl or lynx of some web pages. I have written a program in bash to strip away the html code (e.g., when I do lynx -source myurl), but the problem is that some ...
2 votes
3 answers
512 views

How to insert and delete new lines with LYNX?

I am editing a text field with lynx, how can I insert a new line before another line or delete a line? I tried hitting insert and all that stuff. I looked at the man pages and didn't find anything.
0 votes
3 answers
1k views

Creating a script that runs a simple command for all files in a directory

I need to use the text-based browser Lynx to dump 1000s of html files into text files, with the same filename. For any given filename.html the command is lynx filename.html --force-html --dump > ...
1 vote
1 answer
3k views

Submit a form without a submit button in Lynx?

There's a form on a website that looks like this: <form action="/some_action"> <input type="radio" name="opt" value="1"> Option 1 <input type="radio" name="opt" value="2"> Option 2 &...
  • 11
1 vote
2 answers
4k views

Navigation and images in Lynx text browser

I like the Lynx text browser because it works in a terminal and I figure it probably more or less completely immunizes me from browser-based security vulnerabilities. However... there are a couple of ...
  • 5,481
4 votes
2 answers
1k views

Force lynx or elinks to interpret spaces and line breaks

Consider the following commands, and their results : $ echo "<br/> <br/>a<br/>b<br/>c<br/><br/> <br/>"|lynx -dump -stdin a b c $ echo "<br/> &...
1 vote
1 answer
3k views

Grab http requests by lynx

I need to grab and debug all HTTP-requests and responds which I make from lynx or another text-based browser. How can I save all request URLs, redirects, headers and page sources for analyze and debug ...
1 vote
0 answers
261 views

lynx domain shows 404 error when running from localhost

I have a strange problem and I don't know where I have to take a look to fix the issue. I am running the command lynx https://example.com/index.php from the server where the website is hosted on and ...
6 votes
1 answer
945 views

Lynx is trying to unzip my downloads

I am having a problem with the Lynx text browser. When I try to download a some tar.gz files, Lynx is not downloading it. It is putting it in a tmp directory and then trying to unpack it with the ...
  • 5,481
0 votes
1 answer
2k views

How do I configure lynx to pass images to xloadimage, xv or zvg?

I know that it's possible to configure lynx to pass images (PNG/GIF/JPEG/JPG) to xloadimage, xv or zvg and I've looked online (Description of lynx configuration; Use lynx with browser image support ; ...
0 votes
1 answer
503 views

Lynx incremental search

I am trying to run an incremental search using lynx. Imagine a page, for example, an index_of page which contains several folders which also contain other subfolders and files. I want to run lynx in ...
  • 103