为了账号安全,请及时绑定邮箱和手机立即绑定

老师 救命

(venv) D:\procject\douban\douban\spiders> scrapy crawl douban_spider

2019-07-01 20:51:35 [scrapy.utils.log] INFO: Scrapy 1.6.0 started (bot: douban)

2019-07-01 20:51:35 [scrapy.utils.log] INFO: Versions: lxml 4.3.1.0, libxml2 2.9.7, cssselect 1.0.3, parsel 1.5.1, w3lib 1.20.0, Twisted 18.9.0, Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)], pyOpenSSL

19.0.0 (OpenSSL 1.1.1a  20 Nov 2018), cryptography 2.5, Platform Windows-10-10.0.17763-SP0

2019-07-01 20:51:35 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'douban', 'DOWNLOAD_DELAY': 0.5, 'NEWSPIDER_MODULE': 'douban.spiders', 'SPIDER_MODULES': ['douban.spiders']}

2019-07-01 20:51:35 [scrapy.extensions.telnet] INFO: Telnet Password: 56135613f09fc14d

2019-07-01 20:51:35 [scrapy.middleware] INFO: Enabled extensions:

['scrapy.extensions.corestats.CoreStats',

 'scrapy.extensions.telnet.TelnetConsole',

 'scrapy.extensions.logstats.LogStats']

2019-07-01 20:51:36 [scrapy.middleware] INFO: Enabled downloader middlewares:

['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware',

 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware',

 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware',

'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware',

 'scrapy.downloadermiddlewares.retry.RetryMiddleware',

 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware',

 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware',

 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware',

 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware',

 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware',

 'scrapy.downloadermiddlewares.stats.DownloaderStats']

2019-07-01 20:51:36 [scrapy.middleware] INFO: Enabled spider middlewares:

['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware',

 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware',

 'scrapy.spidermiddlewares.referer.RefererMiddleware',

 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware',

 'scrapy.spidermiddlewares.depth.DepthMiddleware']

 'scrapy.spidermiddlewares.depth.DepthMiddleware']

2019-07-01 20:51:36 [scrapy.middleware] INFO: Enabled item pipelines:

[]

2019-07-01 20:51:36 [scrapy.core.engine] INFO: Spider opened

2019-07-01 20:51:36 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)

2019-07-01 20:51:36 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023

2019-07-01 20:51:36 [scrapy.core.engine] DEBUG: Crawled (403) <GET https://movie.douban.com/top250> (referer: None)

2019-07-01 20:51:36 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <403 https://movie.douban.com/top250>: HTTP status code is not handled or not allowed

2019-07-01 20:51:36 [scrapy.core.engine] INFO: Closing spider (finished)

2019-07-01 20:51:36 [scrapy.statscollectors] INFO: Dumping Scrapy stats:

{'downloader/request_bytes': 221,

 'downloader/request_count': 1,

 'downloader/request_method_count/GET': 1,

 'downloader/response_bytes': 231,

 'downloader/response_count': 1,

 'downloader/response_status_count/403': 1,

 'finish_reason': 'finished',

 'finish_time': datetime.datetime(2019, 7, 1, 12, 51, 36, 515358),

 'httperror/response_ignored_count': 1,

 'httperror/response_ignored_status_count/403': 1,

 'log_count/DEBUG': 1,

 'log_count/INFO': 10,

 'response_received_count': 1,

 'scheduler/dequeued': 1,

 'scheduler/dequeued/memory': 1,

 'scheduler/enqueued': 1,

 'scheduler/enqueued/memory': 1,

 'start_time': datetime.datetime(2019, 7, 1, 12, 51, 36, 124249)}

2019-07-01 20:51:36 [scrapy.core.engine] INFO: Spider closed (finished)

老师 我就写道你在 liunx上装 sqlite的时候 卡住了 我是win10  我报的这个错是什么意思呢 我该如何解决呢

正在回答

2 回答

我也是这样,对吗

0 回复 有任何疑惑可以回复我~

老师 我这个是没问题正常结束了执行么

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

老师 救命

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信