copy html to file with lynx


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting copy html to file with lynx
# 1  
Old 11-29-2011
copy html to file with lynx

hey huys,

i'm extacting some data from a webpage. I used

Code:
lynx -dump URL > temp.dat

its working fine, but I need some data that is in the html code, so how could I store the whole html code of the URL in a file and exit like the above code.
# 2  
Old 11-29-2011
Code:
wget -O output.html "www.unix.com"


Last edited by balajesuri; 11-29-2011 at 02:27 AM..
This User Gave Thanks to balajesuri For This Post:
# 3  
Old 11-29-2011
anybody knows how to do that with lynx?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy and past html text use wrong character set - Firefox

Hello. The source code is here : WMI query to find memory slot and installed memory on each slot at post nbr 7 Looking at the text from firefox show nothing special. Then I Copy the text to notepad and make some change and save to file. Then I open the file in powershell and try to... (2 Replies)
Discussion started by: jcdole
2 Replies

2. UNIX for Beginners Questions & Answers

Copy the content from txt file and create a html file

I have a txt file with a list of error messages in a xml tag format, and each error message is separated with a identifier(endresult).Need to split that and copy and create a new html file.Error message has some special character. how to escape the special character and insert my data into the... (7 Replies)
Discussion started by: DevAakash
7 Replies

3. Web Development

How to copy a selected value of list box into a text box in html form?

hi, i have a list box , a text box and a button in a html form. list box displays some values, when a user selects a value from the list box and press the button. the selected value should be copied to the text box value. can any1 give me a html and javascript code to do this facility. ... (1 Reply)
Discussion started by: Little
1 Replies

4. Shell Programming and Scripting

Copy all HTML files to a folder called webback.

Hi I need help in that script, in which I am trying to copy all HTML files in a folder called WEBBACK, display names of the files copied and a message. Here is the script: #!/bin/csh set temp=`find *.html` \*TO FIND ALL THE HTML FILES*/ set n=$#temp \*N= NUMBER OF... (3 Replies)
Discussion started by: satnamsat
3 Replies

5. Shell Programming and Scripting

how to copy the directory but not copy certain file

Hi experts cp bin root src /mnt but not copy bin/bigfile any help? ( I post this thread in the "redhat" forum wrongly, I don't know how to withdraw that question in that wrong forum) Thanks (6 Replies)
Discussion started by: yanglei_fage
6 Replies

6. Shell Programming and Scripting

Removing all except couple of html tags from html file

I tried to find elegant (or at least simple) way to remove all but couple of html tags from html file, but all examples I found dealt with removing all the tags. The logic of the script would be: - if there is <li> or <ul> on the line, do nothing (=write same line to output) - if there is:... (0 Replies)
Discussion started by: juubuntu
0 Replies

7. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

8. Shell Programming and Scripting

lynx

lynx Hi there , how to use this command ?? is it t to download files with any type(.zip,.exe,.xxx) ?? and i want example thx ... (1 Reply)
Discussion started by: XPS
1 Replies

9. UNIX for Dummies Questions & Answers

opening non-html files in lynx??

when i try to open a txt file in lynx I need to provide the filename or use wildcards to open. Autocompletion doesn't work for some reason. Also, trying to open files like: .sh, .py etc. ends up in the following error: lynx: Start file could not be found or is not text/html or text/plain ... (0 Replies)
Discussion started by: riwa
0 Replies
Login or Register to Ask a Question