scrapy_doc_chs icon indicating copy to clipboard operation
scrapy_doc_chs copied to clipboard

scrapy中文翻译文档

Results 30 scrapy_doc_chs issues
Sort by recently updated
recently updated
newest added

Because response.urljoin already has one argument 'self'

文档的response.urljoin有两个参数, 但是第一个参数是Response类的引用, 不能在类外使用,查看文档后得出此处的正确写法为response.urljoin(href.extract()) 以下是文章内容引用: def parse(self, response): for href in response.css("ul.directory.dir-col > li > a::attr('href')"): url = response.urljoin(response.url, href.extract()) yield scrapy.Request(url, callback=self.parse_dir_contents) class Response(object_ref): def urljoin(self, url): """Join this Response's...

there is one unnecessary parameter for the function response.urljoin. It takes only two parameters including self parameter.

最近在看文档,比较闲,看能不能帮上什么忙么?

https://media.readthedocs.org/pdf/scrapy-chs/latest/scrapy-chs.pdf 这个地址的pdf 看不到中文。 mac osx10.9.2的系统,