Module ImportFrom alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad NameLoad Index Num Str body Assign SubscriptStore NameLoad Index Num Str If CompareEq Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr BinOpAdd Str Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num orelse Assign AttributeStore NameLoad attr Str Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler body Raise Call NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A importlib import_module N/A logging N/A sys grab.util.warning warn CustomImporter N/A object N/A N/A 
    Class that hooks grab.tools imports and then redirect it to weblib package
     N/A virtual_name grab.tools find_module N/A N/A self name path N/A None N/A N/A 
        This method is called by Python if this class is on sys.path. This
        method will be called every time an import
        statement is detected (or __import__ is called), before
        Python's built-in package/module-finding code kicks in.
         N/A N/A N/A N/A name find N/A self virtual_name 0 N/A N/A name N/A N/A name split . N/A N/A N/A name N/A -1 lxml_tools N/A N/A N/A name N/A -1 etree N/A N/A N/A len name 3 N/A N/A N/A self name N/A . N/A N/A . join N/A name N/A 2 N/A N/A N/A self name N/A self N/A None N/A load_module N/A N/A self name N/A N/A N/A 
        This method is called by Python if CustomImporter.find_module
         does not return None.
         N/A N/A N/A module N/A import_module N/A self name weblib N/A N/A N/A sys modules N/A name module N/A N/A warn N/A Module `grab.tools%s` is deprecated. Use `weblib%s` module. N/A N/A self name N/A self name N/A N/A N/A N/A N/A ImportError name N/A module N/A N/A