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

from calibre.web.feeds.news import BasicNewsRecipe


class MaeilBusiness(BasicNewsRecipe):
    language = 'ko'
    title = u'매일경제'
    description = u'매일경제 신문 기사'
    __author__ = 'Hoje Lee'
    oldest_article = 7
    max_articles_per_feed = 10
    auto_cleanup = True

    feeds = [
        (u'헤드라인',  'http://file.mk.co.kr/news/rss/rss_30000001.xml'),
        # (u'전체뉴스',  'http://file.mk.co.kr/news/rss/rss_40300001.xml'),
        (u'경제',      'http://file.mk.co.kr/news/rss/rss_30100041.xml'),
        (u'정치',      'http://file.mk.co.kr/news/rss/rss_30200030.xml'),
        (u'사회',      'http://file.mk.co.kr/news/rss/rss_50400012.xml'),
        (u'국제',      'http://file.mk.co.kr/news/rss/rss_30300018.xml'),
        (u'기업ㆍ경영', 'http://file.mk.co.kr/news/rss/rss_50100032.xml'),
        (u'증권',      'http://file.mk.co.kr/news/rss/rss_50200011.xml'),
        (u'부동산',    'http://file.mk.co.kr/news/rss/rss_50300009.xml'),
        (u'문화ㆍ연예', 'http://file.mk.co.kr/news/rss/rss_30000023.xml'),
        (u'패션',      'http://file.mk.co.kr/news/rss/rss_72000001.xml'),
        (u'스포츠',    'http://file.mk.co.kr/news/rss/rss_71000001.xml'),
        (u'게임',      'http://file.mk.co.kr/news/rss/rss_50700001.xml'),
        (u'오피니언',  'http://file.mk.co.kr/news/rss/rss_30500041.xml'),
    ]
