|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
| def | __init__ (self, content, encoding, url, cache_link_parsing=True) |
| def | __str__ (self) |
Data Fields | |
| content | |
| encoding | |
| url | |
| cache_link_parsing | |
Represents one page, along with its URL
| def __init__ | ( | self, | |
| content, | |||
| encoding, | |||
| url, | |||
cache_link_parsing = True |
|||
| ) |
:param encoding: the encoding to decode the given content.
:param url: the URL from which the HTML was downloaded.
:param cache_link_parsing: whether links parsed from this page's url
should be cached. PyPI index urls should
have this set to False, for example.
| def __str__ | ( | self | ) |
| cache_link_parsing |
| content |
| encoding |
| url |