parser

    RSS feed parsing 하기

    feedparser를 이용하여 feed를 파싱할 수 있다. 만약 feedparser가 설치되어 있지 않다면 pip를 이용해 설치해 준다. RSS구조에 대해서는 아래 URL을 참고하자 2018/11/15 - [Developer's Delight/ETC] - RSS 에 대해서 간단한 소스코드이다. 파싱한 정보에는 RSS 구조에 맞춰 다양한 정보들이 있다. 필요한 정보를 사용하면 될 것 같다. 123456789101112131415import feedparser f = feedparser.parse('https://sonseungha.tistory.com/rss') # Print feed tagsfor tag in f: print(tag) # Print all feed tagsfor feed in f['fee..