calibre/recipes/chosun.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

30 lines
1.0 KiB
Plaintext

# -*- coding: utf-8 -*-
__license__ = 'GPL v3'
__copyright__ = '2015, Hoje Lee <hojelei at gmail.com>'
'''
Profile to download Chosun.com
'''
from calibre.web.feeds.news import BasicNewsRecipe
class ChosunDotcom(BasicNewsRecipe):
language = 'ko'
title = u'조선일보'
description = u'조선닷컴 기사'
__author__ = 'Hoje Lee'
oldest_article = 7
max_articles_per_feed = 10
auto_cleanup = True
feeds = [
(u'정치', 'http://www.chosun.com/site/data/rss/politics.xml'),
(u'조선비즈', 'http://biz.chosun.com/site/data/rss/rss.xml'),
(u'사회', 'http://www.chosun.com/site/data/rss/national.xml'),
(u'문화', 'http://www.chosun.com/site/data/rss/culture.xml'),
(u'국제', 'http://www.chosun.com/site/data/rss/international.xml'),
(u'오피니언', 'http://www.chosun.com/site/data/rss/editorials.xml'),
(u'스포츠', 'http://www.chosun.com/site/data/rss/sports.xml'),
(u'연예', 'http://www.chosun.com/site/data/rss/ent.xml'),
]