linkcheck.htmlutil.loginformsearch

HTML form utils

Functions

search_form(content, cgiuser, cgipassword)

Search for a HTML form in the given HTML content that has input elements with name attributes that match cgiuser and/or cgipassword.

Classes

Form(url)

Store HTML form URL and form data.

class linkcheck.htmlutil.loginformsearch.Form(url)[source]

Bases: object

Store HTML form URL and form data.

Set URL and empty form data.

add_value(key, value)[source]

Add a form value.

linkcheck.htmlutil.loginformsearch.search_form(content, cgiuser, cgipassword)[source]

Search for a HTML form in the given HTML content that has input elements with name attributes that match cgiuser and/or cgipassword. If no such form is found return None.