Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Compiler > Re: Automatical...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 103 of 149
Post > Topic >>

Re: Automatically access a web page and copy source to a text file

by George <george@[EMAIL PROTECTED] > May 17, 2005 at 11:15 PM

On Fri, 13 May 2005 04:01:46 GMT, "James Taylor" <texjet3@[EMAIL PROTECTED]
>
wrote:

>Automatically access a web page and copy source to a text file.
>
>I have written and debugged a QB45 program that parses a text file for 
>specific info that I need and then uses that info to do various things to

>data on my computer.  All is working well, but I am lacking one final 
>improvement.  The data on the web page that I need changes about every
two 
>hours and I have to interrupt whatever I am doing periodically and
manually 
>go there and view source and then copy (ctrl a, ctrl c) and paste (ctrl
v) 
>it into a text file for my program to use later.  The timing is no
problem, 
>I can easily code that into my program, but I do not know how to get it
to 
>go to a specified web page and copy the source text into a file on my 
>computer automatically.  Will somebody point me in the right direction?
>
>Thanks in advance,
>Jim 
>

Not really a QB solution, but I have used Lynx (http://lynx.isc.org/)
for this.

It is possible to start Lynx with DOS command line arguments to
specify the URL to fetch, and save either the HTML code or the
formatted text of the page.  Check out the -dump and -source command
line arguments.

-Jim too.




 2 Posts in Topic:
Automatically access a web page and copy source to a text file
"James Taylor"   2005-05-13 04:01:46 
Re: Automatically access a web page and copy source to a text fi
George <george@[EMAIL   2005-05-17 23:15:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 8:45:09 CDT 2008.