Created
November 21, 2013 18:12
-
-
Save endreszabo/7586641 to your computer and use it in GitHub Desktop.
koponyeg.hu RSS feedparser hinting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import feedparser | |
def start_koponyeg_elorejelzes(self, attrsD): | |
context = self._getContext() | |
context['koponyeg_elorejelzes_%s' % attrsD['nap']] = attrsD | |
feedparser._FeedParserMixin._start_koponyeg_elorejelzes = start_koponyeg_elorejelzes | |
feed = feedparser.parse('http://koponyeg.hu/idojaras_rss.php?regios=1') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage: