OpenQuizz
Une application de gestion des contenus pédagogiques
HTMLPage Class Reference

Public Member Functions

def __init__ (self, content, encoding, url, cache_link_parsing=True)
 
def __str__ (self)
 

Data Fields

 content
 
 encoding
 
 url
 
 cache_link_parsing
 

Detailed Description

Represents one page, along with its URL

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ __str__()

def __str__ (   self)

Field Documentation

◆ cache_link_parsing

cache_link_parsing

◆ content

content

◆ encoding

encoding

◆ url

url

The documentation for this class was generated from the following file: