Module ImportFrom alias Import alias Import alias Import alias Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args 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 Call AttributeLoad NameLoad attr Str Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Dict Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Str Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body AugAssignAdd NameStore BinOpAdd Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str NameLoad attr Assign NameStore Str TryExcept body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str handlers ExceptHandler body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign NameStore BinOpAdd Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr With Call NameLoad Str Str NameStore body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr
N/A bs4 BeautifulSoup N/A logging N/A cgi N/A re N/A N/A N/A logging basicConfig level N/A logging INFO N/A logger N/A N/A logging getLogger replace_all N/A N/A text terms N/A N/A N/A  Replaces all terms contained
    in a dict  N/A N/A _from _to N/A N/A terms items N/A N/A text N/A N/A text replace _from _to N/A text N/A Tag N/A object N/A N/A  Contains informations about
    a HTML tag  __init__ N/A N/A self name info reference example N/A N/A N/A N/A self name name N/A N/A self info info N/A N/A self reference reference N/A N/A self example N/A N/A re sub ^\n example N/A N/A self example N/A N/A re sub \n$ N/A self example N/A N/A self example N/A replace_all N/A self example N/A \n \t N/A __str__ N/A N/A self N/A N/A N/A fields N/A N/A self name N/A self reference N/A self info N/A self example A N/A output N/A %s N/A N/A join fields N/A output N/A N/A Parser N/A object N/A N/A  Parses a HTML file to get
    all tag informations inside it  __init__ N/A N/A self input N/A download/index.html N/A N/A N/A self soup N/A BeautifulSoup N/A open input from_encoding utf-8 N/A get_tags N/A N/A self N/A N/A N/A  Gets all tags defined in 'dl' tags  N/A N/A self tags N/A N/A tag N/A N/A N/A self soup find_all dl N/A N/A name N/A N/A N/A tag dt contents N/A 0 N/A info N/A p N/A N/A N/A tag dd find_all p N/A N/A info N/A N/A N/A p getText N/A a_tags N/A N/A N/A tag dd find_all a N/A example_id N/A N/A N/A N/A a_tags N/A 1 N/A href replace # N/A example N/A N/A N/A N/A N/A self soup find div N/A id example_id getText N/A reference N/A N/A N/A reference N/A N/A N/A N/A tag dt span a N/A href N/A N/A N/A N/A reference N/A N/A a_tags N/A 0 N/A href N/A reference N/A http://html5doctor.com/element-index/# name N/A new_tag N/A Tag name info reference example N/A N/A N/A N/A self tags append new_tag N/A N/A N/A logger info N/A Tag parsed: %s N/A new_tag name N/A N/A N/A N/A __name__ __main__ N/A N/A parser N/A Parser N/A N/A N/A parser get_tags N/A N/A open output.txt w file N/A N/A tag N/A parser tags N/A N/A N/A N/A file write N/A N/A N/A N/A N/A tag __str__ encode utf-8 N/A N/A N/A logger info N/A Tag added to output: %s N/A tag name