Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
pip._vendor.distlib.locators.Page Class Reference
Inheritance diagram for pip._vendor.distlib.locators.Page:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.distlib.locators.Page:
Collaboration graph
[legend]

Public Member Functions

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

Public Attributes

 data
 
 base_url
 

Static Protected Attributes

 _href = re.compile(, re.I | re.S | re.X)
 
 _base = re.compile(, re.I | re.S)
 
 _clean_re = re.compile(r'[^a-z0-9$&+,/:;=?@.#%_\\|-]', re.I)
 

Detailed Description

This class represents a scraped HTML page.

Constructor & Destructor Documentation

◆ __init__()

pip._vendor.distlib.locators.Page.__init__ (   self,
  data,
  url 
)
Initialise an instance with the Unicode page contents and the URL they
came from.

Member Function Documentation

◆ links()

pip._vendor.distlib.locators.Page.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.

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