|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I want to build an automatic script which performs the following actions:
1) connect to a secure site with my username & password 2) navigate through the pages to find some quotes. 3) scrape these quotes from the pages 4) compile these into a SMS-message 5) send this SMS-message to a list of GSM Phonenumbers I have the availability of a cable connected Linux-server to perform these actions on. Should I write a crontab? Any other suggestions? Regards, Erwin Heukels |
|
#2
|
|||
|
|||
|
I would suggest you write a Perl-script. This can retrieve the info from the web for you. You can request the page using LWP::UserAgent and use Regular Expressions to scrape the quotes from it.
However I'm not sure how to send the SMS from there. Maybe there is site that you can put a request to with the info in the querystring, which will send it to you. Indeed you then can use cron to have executed every morning. ------------------ Good luck, Bas ------------------ E-mail me at: b.vandermeijden@pecoma.nl |
|
#3
|
|||
|
|||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by MeijdenB:
I would suggest you write a Perl-script. This can retrieve the info from the web for you. You can request the page using LWP::UserAgent and use Regular Expressions to scrape the quotes from it. However I'm not sure how to send the SMS from there. Maybe there is site that you can put a request to with the info in the querystring, which will send it to you. Indeed you then can use cron to have executed every morning. [/quote] In the UK we have plenty of email to SMS gateways. Or in the UK you could go with a specialist SMS house if you wished to do this as a commercial operation. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > How do I automatically send a daily SMS-message with stockquotes scraped from the web |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|