from calibre.web.feeds.news import BasicNewsRecipe


class AutoBlog(BasicNewsRecipe):
    title = u'Auto Blog'
    __author__ = 'Welovelucy'
    language = 'en'
    description = 'Auto industry news'
    oldest_article = 7
    max_articles_per_feed = 100

    feeds = [(u'AutoBlog', u'http://www.autoblog.com/rss.xml')]

    def print_version(self, url):
        return url + 'print/'
