#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1716089864(BasicNewsRecipe):
    title          = 'Gates Notes'
    description = 'The Blog of Bill Gates.'
    language = 'en'
    __author__ = 'Spicy Poison'
    description = 'The Blog of Bill Gates'
    publisher = 'Bill Gates'
    oldest_article = 30
    max_articles_per_feed = 50
    encoding = 'utf-8'
    use_embedded_content = False
    masthead_url = 'https://www.gatesnotes.com/img/TGN_Logo-01.svg'
    no_stylesheets = True
    remove_attributes = ['style', 'height', 'width']
    ignore_duplicate_articles = {'title', 'url'}
    auto_cleanup   = True

    feeds          = [
        ('All Articles', 'https://www.gatesnotes.com/rss'),
    ]
