|
|
| _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) |
| |
This class represents a scraped HTML page.
◆ __init__()
| pip._vendor.distlib.locators.Page.__init__ |
( |
|
self, |
|
|
|
data, |
|
|
|
url |
|
) |
| |
Initialise an instance with the Unicode page contents and the URL they
came from.
◆ 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:
- docs/help/help-venv/lib/python3.12/site-packages/pip/_vendor/distlib/locators.py