__license__   = 'GPL v3'
__copyright__ = '2010, Nadid <nadid.skywalker at gmail.com>'
'''
http://www.sinfest.net
'''

from calibre.web.feeds.news import BasicNewsRecipe

class SinfestBig(BasicNewsRecipe):
    title                  = 'Sinfest'
    __author__             = 'nadid'
    description            = 'Sinfest'
    reverse_article_order = False
    oldest_article         = 5
    max_articles_per_feed  = 100
    no_stylesheets         = True
    use_embedded_content   = True
    encoding               = 'utf-8'
    publisher              = 'Tatsuya Ishida/Museworks'
    category               = 'comic'
    language               = 'en'

    conversion_options = {
                             'comments'        : description
                            ,'tags'            : category
                            ,'language'        : language
                            ,'publisher'       : publisher
                         }

    feeds = [(u'SinFest', u'http://henrik.nyh.se/scrapers/sinfest.rss' )]
    def get_article_url(self, article):
        return article.get('link')

