linkcheck.htmlutil.linkparse
Find link tags in HTML text.
Functions
|
Parse into content and search for URLs to check. |
|
Check if this is a GET form action URL. |
|
Check if the meta attributes contain a URL. |
|
Remove C/CSS-style comments from text. |
Classes
|
Find HTML links, and apply them to the callback function with the format (url, lineno, column, name, codebase). |
- class linkcheck.htmlutil.linkparse.LinkFinder(callback, tags)[source]
Bases:
object
Find HTML links, and apply them to the callback function with the format (url, lineno, column, name, codebase).
Store content in buffer and initialize URL list.
- linkcheck.htmlutil.linkparse.find_links(soup, callback, tags)[source]
Parse into content and search for URLs to check. When a URL is found it is passed to the supplied callback.
- linkcheck.htmlutil.linkparse.is_form_get(attr, attrs)[source]
Check if this is a GET form action URL.