Scrapy 2.0 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_obey_robotstxt 3.9. Requests and Responses 95 Scrapy Documentation, Release 2.0.1 • download_timeout • download_maxsize • download_latency • download_fail_on_dataloss • proxy • ftp_user (See FTP_USER use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent0 码力 | 336 页 | 1.31 MB | 1 年前3
Scrapy 2.1 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_cache • redirect_reasons • redirect_urls • bindaddress • dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • download_fail_on_dataloss • proxy • ftp_user (See FTP_USER use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. 96 Chapter 3. Basic concepts Scrapy Documentation0 码力 | 342 页 | 1.32 MB | 1 年前3
Scrapy 2.2 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_cache • redirect_reasons • redirect_urls • bindaddress • dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • download_fail_on_dataloss • proxy • ftp_user (See FTP_USER use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent0 码力 | 348 页 | 1.35 MB | 1 年前3
Scrapy 2.4 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_cache • redirect_reasons • redirect_urls • bindaddress • dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • download_fail_on_dataloss • proxy • ftp_user (See FTP_USER use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent0 码力 | 354 页 | 1.39 MB | 1 年前3
Scrapy 2.3 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_cache • redirect_reasons • redirect_urls • bindaddress • dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • download_fail_on_dataloss • proxy • ftp_user (See FTP_USER use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent0 码力 | 352 页 | 1.36 MB | 1 年前3
Scrapy 1.3 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • proxy bindaddress The IP of the outgoing IP address to use for the performing the request. download_timeout The amount of time time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent to fetch the response, since the request has been started, i.e. HTTP0 码力 | 272 页 | 1.11 MB | 1 年前3
Scrapy 2.10 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout expected "https://example.invalid/", # DNS error expected ] def start_requests(self): for u in dont_redirect • dont_retry • download_fail_on_dataloss • download_latency • download_maxsize • download_timeout • ftp_password (See FTP_PASSWORD for more info) • ftp_user (See FTP_USER for more info) • handle_httpstatus_all use for the performing the request. download_timeout The amount of time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent0 码力 | 419 页 | 1.73 MB | 1 年前3
Scrapy 1.0 Documentationdont_obey_robotstxt • download_timeout • download_maxsize • proxy bindaddress The IP of the outgoing IP address to use for the performing the request. download_timeout The amount of time (in secs) secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. Request subclasses Here is the list of built-in Request subclasses. You can also subclass it to implement your own custom enable DNS in-memory cache. DNSCACHE_SIZE Default: 10000 DNS in-memory cache size. DNS_TIMEOUT Default: 60 Timeout for processing of DNS queries in seconds. Float is supported. DOWNLOADER Default: 'scrapy0 码力 | 244 页 | 1.05 MB | 1 年前3
Scrapy 1.2 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_obey_robotstxt • download_timeout • download_maxsize • download_latency • proxy bindaddress The IP of the outgoing IP address to use for the performing the request. download_timeout The amount of time time (in secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. download_latency The amount of time spent to fetch the response, since the request has been started, i.e. HTTP0 码力 | 266 页 | 1.10 MB | 1 年前3
Scrapy 1.1 Documentationhttpbin.org/status/500", # server issue "http://www.httpbin.org:12345/", # non-responding host, timeout ˓→expected "http://www.httphttpbinbin.org/", # DNS error expected ] def start_requests(self): dont_obey_robotstxt • download_timeout • download_maxsize • proxy bindaddress The IP of the outgoing IP address to use for the performing the request. download_timeout The amount of time (in secs) secs) that the downloader will wait before timing out. See also: DOWNLOAD_TIMEOUT. Request subclasses Here is the list of built-in Request subclasses. You can also subclass it to implement your own custom0 码力 | 260 页 | 1.12 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













