LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-20-2011, 05:30 PM   #1
3ast
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Web scrapper and email


I am attempting to create a small script that would scan a web page for a few key words several times an hour and if finding a predetermined word would then email a portion of that page to a given email address. I am struggling as I don't know any kinda of programing very well. I thought maybe someone here may have seen an app that does this or would be able to throw a simple code together for me, or even would be able to direct me in the ways I should go to do so.
 
Old 12-20-2011, 06:14 PM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,562

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
This is the implementation that immediately came to mind:

Code:
wget http://path/to/whatever.html
grep keyword whatever.html
(well, it downloads the page and checks for a keyword).

Last edited by dugan; 12-20-2011 at 08:39 PM.
 
Old 12-21-2011, 03:38 PM   #3
3ast
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
It also has to send an email containing part of that email.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python IndexError: list index out of range (Web Scrapper) zcrxsir88 Programming 7 02-19-2011 04:44 AM
web-based email for multiple email accounts? gvanto Linux - Software 1 04-12-2010 06:14 PM
Use web-based email as preferred email app? Short.Cipher Linux - Software 3 07-22-2007 03:23 AM
web email depaul Linux - Software 6 07-21-2003 03:34 PM
Web email teeno Linux - General 1 03-16-2002 12:55 AM


All times are GMT -5. The time now is 11:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration