# -*- coding: utf-8 -*-
__license__ = 'GPL v3'
__copyright__ = '2015, Hoje Lee <hojelei at gmail.com>'
'''
Profile to download Joongang Ilbo
'''

from calibre.web.feeds.news import BasicNewsRecipe


class JoongangIlbo(BasicNewsRecipe):
    language = 'ko'
    title = u'중앙일보'
    description = u'중앙일보 신문 기사'
    __author__ = 'Hoje Lee'
    oldest_article = 7
    max_articles_per_feed = 5
    auto_cleanup = True

    feeds = [
        # (u'전체기사', 'http://rss.joins.com/joins_news_list.xml'),
        (u'주요기사', 'http://rss.joins.com/joins_homenews_list.xml'),
        # (u'경제',     'http://rss.joins.com/joins_money_list.xml'),
        # (u'사회',     'http://rss.joins.com/joins_life_list.xml'),
        # (u'정치',     'http://rss.joins.com/joins_politics_list.xml'),
        # 많이 본 뉴스
        (u'전체기사', 'http://rss.joins.com/sonagi/joins_sonagi_total_list.xml'),
        (u'경제',     'http://rss.joins.com/sonagi/joins_sonagi_money_list.xml'),
        (u'스포츠',   'http://rss.joins.com/sonagi/joins_sonagi_sports_list.xml'),
        (u'연예',     'http://rss.joins.com/sonagi/joins_sonagi_star_list.xml'),
        (u'사회',     'http://rss.joins.com/sonagi/joins_sonagi_life_list.xml'),
        (u'정치',     'http://rss.joins.com/sonagi/joins_sonagi_politics_list.xml'),
        (u'지구촌',   'http://rss.joins.com/sonagi/joins_sonagi_world_list.xml'),
        (u'IT과학',   'http://rss.joins.com/sonagi/joins_sonagi_it_list.xml'),
        (u'사설',     'http://rss.joins.com/sonagi/joins_sonagi_opinion_list.xml'),
    ]
