

@classmethod
def from_crawler(cls, crawler):
    o = cls()
    o.signals.connect(o.spider_opened, signal=signals.spider_opened)
    return o

dataset/ETHPy150Open wcong/ants/ants/contrib/downloadermiddleware/httpauth.py HttpAuthMiddleware.from_crawler/VarMisuse@21/23 `crawler`->`o`