2012-08-10 3 views

답변

8

은 RSS 자체가 아마 첫 페이지. RSS 항목의 'link'속성에서 원본 데이터에 액세스 할 수 있습니다 (피드 파서에서 호출 된 것 이상). 다음과 같음 :

feed = feedparser.parse('http://reddit.com/.rss') 
for entry in feed['entries']: 
    content = urlopen(entry['link']).read() 
    # Do something with content