mixin.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:scrapy-mosquitera 作者: scrapinghub 项目源码 文件源码
def dm_teardown(self):
        """ Disconnect the method from the signal.
        It's done to avoid conflicts when many instances of the mixin are being executed.

        """
        try:
            dispatcher.disconnect(
                self.dequeue_next_page_requests,
                signal=signals.spider_idle
            )
        except DispatcherKeyError:
            pass
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号