Last active
May 20, 2020 09:07
-
-
Save seozed/43b2b8542b4abdcdb23608225c0e2e46 to your computer and use it in GitHub Desktop.
[提升scrapy编码效率的片段]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scrapy.http import Response | |
# 声明response类型,帮助IDE完成自动补全 | |
def parse(self, response: Response): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment