Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scraping RSS scraping system

I am relatively new to python only about 2 months of learning mostly by myself and loving it. I have been trying to design a program that will scrape text RSS feeds from the National Weather Service but I have no idea where to start. I want something that will scan for severe weather aka tornado watches warnings exct and send them to my email. I have already scripted a simple email alert system that will even text my phone. I was wondering if any of you guys could point me in the right direction in how to go about building an rss scraper and incorporating that with the email program to build a functional weather alert system? I am a huge weather nerd if you cant tell, and this will end up being my senior year project and something to hopefully impress my meteorology professors next year. I would appreciate any help anybody could give. Thanks, Andrew :D

like image 943
Twisterkid34 Avatar asked Dec 01 '25 08:12

Twisterkid34


1 Answers

Don't reinvent the wheel, just use FeedParser. It knows how to handle all corner cases and crazy markup better than you'll ever do.

like image 160
Giacomo Lacava Avatar answered Dec 04 '25 00:12

Giacomo Lacava



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!