473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting webpage contents using a script

I wanna write a script to get the contents of a simple webpage like
http://www.craigslist.org/msg
i need just text output not html.
I search this on google. There are suggestions about using perl LWP::Simple
and using lynx. Both these options are not workable for me because
lynx config files are missing on my system and perl package is not
found on my system or cpan.org

Pls let me know if you know of any other simple method to do this
using perl/python or whatever else.

Thanks
Jul 12 '08 #1
1 1755
micmast
144 100+
take a look at wget. I don't know if the program can fetch only text, but you might be able to write a small html filter for that.
Jul 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: teknowbabble | last post by:
I would like to know how to convert HTML code that users input into a TEXTAREA box on a HTML FORM into a separate WEBPAGE. I have something like the diagram below on my webpage. The user is...
5
by: sifar | last post by:
Hi, This is my first post to this Group. A] I am trying to create a escalation page which will mail an escalation report of a faulty product. Items needed on Page: -----------------------
2
by: gizmo | last post by:
Hi, I'm using the following code to request the html source from the quoted site. ...... string url = "http://www1.soccerstand.com/"; WebRequest webRequest = WebRequest.Create(url);...
3
by: suchindra | last post by:
The following is my very simple script : </script> #!/usr/bin/perl use strict; use LWP::UserAgent; my $url = "<My Web Server IP : PORT Number>"; my $browser =...
19
by: thejobdone | last post by:
I need my webpage to clear tempoary internet files when a user visits my web page so that the images in my webpage www.fcestates.co.uk/index.php? actually shows the images all the time for propertys...
9
by: Prince of Code | last post by:
How do i create a image of webpage in php? Basically what I am looking for is "Create a small image (Thumbnail) of a webpage. Let me know about your thought. Your Help is greatly appreciated !...
1
by: Bell Deep | last post by:
I wanted to create a webpage(using HTML), where I want to display the contents of a remote folder (the folder is in the server). I need to display the contents (i.e, files or subfolders) of that...
5
by: yawnmoth | last post by:
I'm trying to get a list of all the input elements of a form tag and am having some difficulty doing so. First, here's my XHTML: <div> <form action=""> <input type="text" name="a" /> </div>...
3
by: maheshgupta0248 | last post by:
Hi all, I have developed some cgis in c-language for our project. We have only CGIs for developing webpages. When I start the webserver and request for the webpage.. I see some html headers on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.