Module Import alias Import alias ImportFrom alias Import alias Import alias ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str ListLoad Str Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str ListLoad Assign NameStore Dict Str Str NameLoad NameLoad ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For NameStore NameLoad body If CompareEq NameLoad SubscriptLoad NameLoad Index Num body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str If Call AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num NameLoad NameLoad NameLoad NameLoad Return Assign NameStore ListLoad Assign NameStore NameLoad While Num body If CompareEq NameLoad NameLoad body Break Assign NameStore NameLoad If Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num NameLoad NameLoad NameLoad NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Break Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Num NameLoad ListLoad Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore NameLoad attr ListLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr TupleLoad NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Return CompareNotEq AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Return NameLoad For NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Num If Call AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr NameLoad body If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Delete SubscriptDel NameLoad Index Num handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body While Num body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Return If CompareEq AttributeLoad NameLoad attr NameLoad body Break If BoolOpAnd AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr ListLoad CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr TupleLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Num If CompareEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareNotEq AttributeLoad NameLoad attr ListLoad body Return Num Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIn NameLoad ListLoad Str Str body TryExcept body Expr Call NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Slice Num Num SubscriptLoad NameLoad Slice Num handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults Str body For TupleStore NameStore NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Print BinOpAdd NameLoad NameLoad Expr Call NameLoad NameLoad BinOpAdd NameLoad Str orelse Print BinOpAdd NameLoad Call NameLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad BinOpAdd NameLoad Str orelse Print NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Import alias If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Print Str SubscriptLoad AttributeLoad NameLoad attr Index Num Str Expr Call AttributeLoad NameLoad attr Num orelse For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call NameLoad NameLoad
N/A N/A sys N/A urlparse HTMLParser HTMLParser N/A re N/A urllib2 MicroformatSchema N/A N/A __init__ N/A N/A self props parentprops N/A N/A N/A N/A self props props N/A N/A self parentprops parentprops N/A isValidProperty N/A N/A self prop N/A N/A N/A N/A prop N/A N/A self props N/A self parentprops N/A N/A True N/A False N/A isParentProperty N/A N/A self prop N/A N/A N/A N/A prop N/A self parentprops N/A N/A N/A vcardprops N/A MicroformatSchema N/A fn family-name given-name additional-name honorific-prefix honorific-suffix nickname sort-string url email type tel post-office-box extended-address street-address locality region postal-code country-name label latitude longitude tz photo logo sound bday title role organization-name organization-unit category note class key mailer uid rev N/A n email adr geo org tel N/A veventprops N/A MicroformatSchema N/A summary url dtstart dtend location N/A N/A SCHEMAS N/A vcard vevent vcardprops veventprops nodeitem N/A N/A __init__ N/A N/A self id tag predicates attrs nested N/A N/A N/A N/A self tag tag N/A N/A self id id N/A N/A self predicates predicates N/A N/A self attrs attrs N/A N/A self nested nested N/A __repr__ N/A N/A self N/A N/A N/A N/A <nodeitem %s, %s, %s, %s, %s> N/A N/A self tag N/A self id N/A self predicates N/A self attrs N/A self nested N/A N/A MicroformatToStmts N/A HTMLParser N/A __init__ N/A N/A self url N/A N/A N/A N/A self url url N/A N/A N/A HTMLParser __init__ self N/A N/A self nodestack N/A N/A N/A self nodemap N/A N/A N/A self chars N/A N/A self tree N/A N/A N/A self treestack N/A N/A _getattr N/A N/A self name attrs N/A N/A N/A attr attrs N/A N/A N/A name N/A attr N/A 0 N/A N/A N/A attr N/A 1 N/A predicateIsAParent N/A N/A self pred N/A N/A N/A N/A N/A N/A SCHEMAS N/A N/A self currentCompoundFormat isParentProperty pred N/A N/A True N/A False N/A handle_starttag N/A N/A self elementtag attrs N/A N/A N/A N/A self chars N/A N/A N/A self currentlyInAMicroformat N/A N/A N/A N/A preds N/A N/A N/A N/A self _getattr class attrs split N/A N/A N/A AttributeError N/A N/A N/A N/A N/A self nodestack append N/A nodeitem 1 elementtag None attrs False N/A N/A prevpreds N/A N/A nested False N/A 1 N/A N/A N/A prevpreds preds N/A N/A N/A prevpreds preds N/A N/A N/A self predicateIsAParent N/A preds N/A 0 N/A N/A N/A N/A self openParentProperty N/A preds N/A 0 N/A nested True N/A N/A elementtag img N/A N/A N/A N/A self emitAttributeAsPropertyIfExists src attrs preds N/A N/A N/A elementtag a N/A N/A N/A N/A self emitAttributeAsPropertyIfExists href attrs preds N/A N/A N/A self emitAttributeAsPropertyIfExists title attrs preds N/A N/A N/A elementtag abbr N/A N/A N/A N/A self emitAttributeAsPropertyIfExists title attrs preds N/A N/A N/A N/A self nodestack append N/A nodeitem 1 elementtag preds attrs nested N/A N/A N/A N/A self nodeStartsAMicroformat attrs N/A N/A classattrs N/A N/A N/A N/A self _getattr class attrs split N/A classattr classattrs N/A N/A N/A classattr N/A N/A SCHEMAS keys N/A N/A N/A self currentCompoundFormat classattr N/A N/A N/A N/A N/A self nodestack append N/A nodeitem 1 elementtag N/A N/A N/A self _getattr class attrs attrs True N/A N/A N/A N/A self tree append N/A N/A N/A self treestack N/A N/A N/A self tree N/A -1 N/A N/A N/A self openParentProperty N/A self currentCompoundFormat N/A openParentProperty N/A N/A self prop N/A N/A N/A N/A N/A N/A N/A self treestack N/A -1 append N/A prop N/A N/A N/A N/A N/A self treestack append N/A N/A N/A N/A self treestack N/A -1 N/A -1 N/A 1 N/A currentlyInAMicroformat N/A N/A self N/A N/A N/A N/A N/A self nodestack N/A N/A nodeStartsAMicroformat N/A N/A self attrs N/A N/A N/A class_attr N/A N/A self _getattr class attrs N/A N/A class_attr N/A N/A False N/A a N/A N/A class_attr split N/A N/A N/A a N/A N/A SCHEMAS keys N/A N/A True N/A False N/A emitAttributeAsPropertyIfExists N/A N/A self attrname attrs preds N/A N/A N/A obj N/A N/A self _getattr attrname attrs N/A N/A obj None N/A N/A N/A N/A pred N/A preds N/A 0 N/A N/A N/A N/A SCHEMAS N/A N/A self currentCompoundFormat isValidProperty pred N/A N/A N/A attrname N/A href src N/A N/A obj N/A N/A urlparse urljoin N/A self url obj N/A obj N/A N/A self makeDatesParsable pred obj N/A N/A N/A self addPropertyValueToOutput pred obj N/A N/A preds N/A 0 N/A N/A N/A IndexError N/A N/A N/A addPropertyValueToOutput N/A N/A self prop val N/A N/A N/A N/A N/A N/A N/A self treestack N/A -1 append N/A prop val N/A handle_endtag N/A N/A self tag N/A N/A N/A N/A N/A self currentlyInAMicroformat N/A N/A 1 N/A N/A N/A N/A item N/A N/A N/A self nodestack pop N/A N/A N/A IndexError N/A N/A N/A N/A N/A item tag tag N/A N/A N/A N/A N/A item predicates N/A N/A item predicates N/A N/A N/A N/A N/A self chars strip N/A N/A preds N/A item predicates N/A N/A N/A N/A N/A self treestack N/A -1 append N/A N/A preds N/A 0 N/A self chars N/A N/A preds N/A 0 N/A N/A N/A item nested 1 N/A N/A N/A N/A N/A self treestack pop N/A N/A self chars N/A handle_data N/A N/A self content N/A N/A N/A N/A N/A self hasPredicatesPending N/A N/A content N/A N/A content strip N/A N/A content N/A N/A N/A N/A self chars content N/A hasPredicatesPending N/A N/A self N/A N/A N/A n N/A self nodestack N/A N/A N/A N/A n predicates N/A N/A N/A 1 N/A 0 N/A makeDatesParsable N/A N/A self p o N/A N/A N/A N/A p N/A dtstart dtend N/A N/A N/A N/A N/A float o N/A o N/A %s-%s-%s N/A N/A o N/A 4 N/A o N/A 4 6 N/A o N/A 6 N/A N/A N/A ValueError N/A N/A N/A o N/A N/A printTree N/A N/A tree tab N/A N/A N/A N/A p v tree N/A N/A N/A isinstance v list N/A N/A N/A tab p N/A N/A printTree v N/A tab N/A N/A N/A tab N/A unicode p : v N/A printTreeStack N/A N/A treestack tab N/A N/A N/A t treestack N/A N/A N/A isinstance t list N/A N/A N/A printTreeStack t N/A tab N/A N/A t N/A parse N/A N/A f url N/A http://dummyurl.com/ N/A N/A m N/A MicroformatToStmts url N/A N/A N/A s N/A N/A f read N/A N/A N/A AttributeError N/A N/A s f N/A N/A N/A m feed s N/A N/A N/A m close N/A N/A m tree N/A N/A N/A __name__ __main__ N/A N/A urllib N/A N/A N/A len N/A sys argv 1 N/A N/A Usage: N/A N/A sys argv N/A 0 <url> N/A N/A N/A sys exit 0 N/A N/A url N/A N/A sys argv N/A 1 N/A N/A trees N/A parse N/A N/A urllib urlopen url url N/A tree trees N/A N/A N/A printTree tree