LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 06: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, 07:14 PM   #2
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,000

Rep: Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558
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 09:39 PM.
 
Old 12-21-2011, 04: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 05:44 AM
web-based email for multiple email accounts? gvanto Linux - Software 1 04-12-2010 07:14 PM
Use web-based email as preferred email app? Short.Cipher Linux - Software 3 07-22-2007 04:23 AM
web email depaul Linux - Software 6 07-21-2003 04:34 PM
Web email teeno Linux - General 1 03-16-2002 01:55 AM


All times are GMT -5. The time now is 02:31 AM.

Main Menu
Advertisement
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