An item in a list of results returned by SearchEngine.search(). All dictionary entries are available as unicode string attributes. - url : the URL of the referred web content, - title : the title of the content at the URL, - text : the conten
(self, url)
| 922 | class Result(dict): |
| 923 | |
| 924 | def __init__(self, url): |
| 925 | """ An item in a list of results returned by SearchEngine.search(). |
| 926 | All dictionary entries are available as unicode string attributes. |
| 927 | - url : the URL of the referred web content, |
| 928 | - title : the title of the content at the URL, |
| 929 | - text : the content text, |
| 930 | - language: the content language, |
| 931 | - author : for news items and images, the author, |
| 932 | - date : for news items, the publication date. |
| 933 | """ |
| 934 | dict.__init__(self) |
| 935 | self.url = url |
| 936 | |
| 937 | @property |
| 938 | def description(self): |