[Tutor] screen scraping web-based email
James Cunningham
jameshcunningham at uky.edu
Wed Apr 18 18:29:24 CEST 2007
On Wed, 18 Apr 2007 12:15:26 -0400, Kent Johnson wrote:
> James Cunningham wrote:
>
>> I'd like to write a daemon that logs into the text-based web client
>> every so often, scrapes for new email, and uses smtplib to send that
>> email to another email address. But I really don't know how I'd go
>> about logging in and staying logged in without a browser.
>>
>> Hints are appreciated. Am I wrong-headed about this? Any other options
>> available to me?
>
> This might be a starting point:
> http://pywebmail.sourceforge.net/
>
> Otherwise mechanize and Beautiful Soup will give you some high-level
> tools to get started with:
> http://wwwsearch.sourceforge.net/mechanize/
> http://www.crummy.com/software/BeautifulSoup/
>
> Kent
pywebmail sounds great, and mechanize is actually just what I was
looking for. Thanks a lot, especially for the quick response!
Best,
James
More information about the Tutor
mailing list