Package Bio :: Module NetCatch :: Class ExtractUrls
[hide private]
[frames] | no frames]

Class ExtractUrls

source code

markupbase.ParserBase --+    
                        |    
       sgmllib.SGMLParser --+
                            |
                           ExtractUrls

Instance Methods [hide private]
 
__init__(self)
Initialize and reset this instance.
source code
 
reset(self)
Reset this instance.
source code
 
__str__(self) source code
 
extract_urls(self, handle) source code
 
feed(self, handle)
Feed in data for scanning.
source code
 
handle_data(self, data) source code
 
start_a(self, attrs) source code
 
end_a(self) source code

Inherited from sgmllib.SGMLParser: close, convert_charref, convert_codepoint, convert_entityref, error, finish_endtag, finish_shorttag, finish_starttag, get_starttag_text, goahead, handle_charref, handle_comment, handle_decl, handle_endtag, handle_entityref, handle_pi, handle_starttag, parse_endtag, parse_pi, parse_starttag, report_unbalanced, setliteral, setnomoretags, unknown_charref, unknown_endtag, unknown_entityref, unknown_starttag

Inherited from sgmllib.SGMLParser (private): _convert_ref

Inherited from markupbase.ParserBase: getpos, parse_comment, parse_declaration, parse_marked_section, unknown_decl, updatepos

Inherited from markupbase.ParserBase (private): _parse_doctype_attlist, _parse_doctype_element, _parse_doctype_entity, _parse_doctype_notation, _parse_doctype_subset, _scan_name

Class Variables [hide private]

Inherited from sgmllib.SGMLParser: entity_or_charref, entitydefs

Inherited from sgmllib.SGMLParser (private): _decl_otherchars

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialize and reset this instance.

Overrides: markupbase.ParserBase.__init__

reset(self)

source code 

Reset this instance. Loses all unprocessed data.

Overrides: markupbase.ParserBase.reset

feed(self, handle)

source code 

Feed in data for scanning. handle is a file-like object containing html.

Overrides: sgmllib.SGMLParser.feed

handle_data(self, data)

source code 
Overrides: sgmllib.SGMLParser.handle_data