1# -*- coding: utf-8 -*-
2__license__ = 'GPL v3'
3# dug from http://www.mobileread.com/forums/showthread.php?p=1012294
4
5
6from calibre.web.feeds.news import BasicNewsRecipe
7
8
9class AdvancedUserRecipe1277443634(BasicNewsRecipe):
10    title = u'自由電子報'
11    oldest_article = 1
12    max_articles_per_feed = 100
13
14    feeds = [(u'即時', u'https://news.ltn.com.tw/rss/all.xml'),
15             (u'政治', u'https://news.ltn.com.tw/rss/politics.xml'),
16             (u'社會', u'https://news.ltn.com.tw/rss/society.xml'),
17             (u'生活', u'https://news.ltn.com.tw/rss/life.xml'),
18             (u'評論', u'https://news.ltn.com.tw/rss/opinion.xml'),
19             (u'國際', u'https://news.ltn.com.tw/rss/world.xml'),
20             (u'財經', u'https://news.ltn.com.tw/rss/business.xml'),
21             (u'體育', u'https://news.ltn.com.tw/rss/sports.xml'),
22             (u'娛樂', u'https://news.ltn.com.tw/rss/entertainment.xml'),
23             (u'地方', u'https://news.ltn.com.tw/rss/local.xml'),
24             (u'人物', u'https://news.ltn.com.tw/rss/people.xml'),
25             (u'蒐奇', u'https://news.ltn.com.tw/rss/novelty.xml')
26    ]
27
28    __author__ = 'einstuerzende, updated by Eddie Lau'
29    __version__ = '1.2'
30    language = 'zh'
31    publisher = 'Liberty Times Group'
32    description = 'Liberty Times (Taiwan)'
33    category = 'News, Chinese, Taiwan'
34    remove_javascript = True
35    use_embedded_content = False
36    no_stylesheets = True
37    encoding = 'utf-8'
38    conversion_options = {'linearize_tables': True}
39    masthead_url = 'https://cache.ltn.com.tw/images/rwd_ltnlogo.png',
40    cover_url = 'https://cache.ltn.com.tw/images/rwd_ltnlogo.png'
41    auto_cleanup = True
42