

def html(self):
    '\n    Get full page HTML.\n\n    .. warning:: This can get pretty slow on long pages.\n    '
    if (not getattr(self, '_html', False)):
        query_params = {
            'prop': 'revisions',
            'rvprop': 'content',
            'rvlimit': 1,
            'rvparse': '',
            'titles': self.title,
        }
        request = _wiki_request(query_params)
        self._html = request['query']['pages'][self.pageid]['revisions'][0]['*']
    return self._html

dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py WikipediaPage.html/original