[scilab-Users] recovering the text of a web page from internet

Adrien Vogt-Schilb vogt at centre-cired.fr
Wed Mar 14 22:30:57 CET 2012


On 14/03/2012 21:58, Eric Dubois wrote:
> Hello
>
> Does anyone know how to recover the (text) content of a web page from 
> Scilab (as it is possible with function dowlaod.file in R software)?
>
> Thanks for your answer!.
>
> Eric.
hi

if your machine runs on linux, you can use unix("wget -O myfile.txt 
http://www.url.com")
and then open "myfile.txt"

(you may want to deletefile("myfile.txt") once you are done)

if you are using windows you can always install wget for windows 
(http://gnuwin32.sourceforge.net/packages/wget.htm) and use it the same way

on mac i guess you can natively use wget too.


hope this helps

Adrien Vogt-Schilb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120314/d340b39d/attachment.htm>


More information about the users mailing list