'An item in a list of results returned by SearchEngine.search().
All dictionary keys are available as Unicode string attributes.
- id       : unique identifier,
- url      : the URL of the referred web content,
- title    : the title of the content at the URL,
- text     : the content text,
- language : the content language,
- author   : for news items and posts, the author,
- date     : for news items and posts, the publication date.'

def __init__(self, url, **kwargs):

    dict.__init__(self)
    self.url = url
    self.id = kwargs.pop('id', u'')
    self.title = kwargs.pop('title', u'')
    self.text = kwargs.pop('text', u'')
    self.language = kwargs.pop('language', u'')
    self.author = kwargs.pop('author', u'')
    self.date = kwargs.pop('date', u'')
    self.votes = kwargs.pop('votes', 0)
    self.shares = kwargs.pop('shares', 0)
    self.comments = kwargs.pop('comments', 0)
    for (k, v) in kwargs.items():
        self[k] = v
