OpenQuizz
Une application de gestion des contenus pédagogiques
Page Class Reference
Inheritance diagram for Page:
Collaboration diagram for Page:

Public Member Functions

def __init__ (self, data, url)
 
def links (self)
 

Data Fields

 data
 
 base_url
 
 url
 

Detailed Description

This class represents a scraped HTML page.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  data,
  url 
)
Initialise an instance with the Unicode page contents and the URL they
came from.

Member Function Documentation

◆ links()

def links (   self)
Return the URLs of all the links on a page together with information
about their "rel" attribute, for determining which ones to treat as
downloads and which ones to queue for further scraping.

Field Documentation

◆ base_url

base_url

◆ data

data

◆ url

url

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