PS C:\Users\童琪琪\Desktop\bishe.6\biyesheji.6\movie_analysis_project> scrapy crawl maoyan
2025-11-14 19:21:02 [scrapy.utils.log] INFO: Scrapy 2.11.0 started (bot: movie_analysis_project)
2025-11-14 19:21:02 [scrapy.utils.log] INFO: Versions: lxml 5.2.1.0, libxml2 2.13.1, cssselect 1.2.0, parsel 1.8.1, w3lib 2.1.2, Twisted 22.10.0, Python 3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:17:27) [MSC v.1929 64 bit (AMD64)], pyOpenSSL 24.2.1 (OpenSSL 3.0.15 3 Sep 2024), cryptography 43.0.0, Platform Windows-11-10.0.26100-SP0
2025-11-14 19:21:02 [scrapy.addons] INFO: Enabled addons:
[]
2025-11-14 19:21:02 [py.warnings] WARNING: D:\Anaconda\Lib\site-packages\scrapy\utils\request.py:254: ScrapyDeprecationWarning: '2.6' is a deprecated value for the 'REQUEST_FINGERPRINTER_IMPLEMENTATION' setting.
It is also the default value. In other words, it is normal to get this warning if you have not defined a value for the 'REQUEST_FINGERPRINTER_IMPLEMENTATION' setting. This is so for backward compatibility reasons, but it will change in a future version of Scrapy.
See the documentation of the 'REQUEST_FINGERPRINTER_IMPLEMENTATION' setting for information on how to handle this deprecation.
return cls(crawler)
2025-11-14 19:21:02 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.selectreactor.SelectReactor
2025-11-14 19:21:02 [scrapy.extensions.telnet] INFO: Telnet Password: e5198af22139ce7b
2025-11-14 19:21:03 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.logstats.LogStats']
2025-11-14 19:21:03 [scrapy.crawler] INFO: Overridden settings:
{'BOT_NAME': 'movie_analysis_project',
'CONCURRENT_REQUESTS': 1,
'DOWNLOAD_DELAY': 2,
'NEWSPIDER_MODULE': 'movie_analysis_project.spiders',
'RETRY_TIMES': 3,
'SPIDER_MODULES': ['movie_analysis_project.spiders'],
'USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'}
2025-11-14 19:21:04 [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']
2025-11-14 19:21:04 [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']
2025-11-14 19:21:06 [scrapy.middleware] INFO: Enabled item pipelines:
['movie_analysis_project.pipelines.DataCleaningPipeline',
'movie_analysis_project.pipelines.MySQLPipeline']
2025-11-14 19:21:06 [scrapy.core.engine] INFO: Spider opened
2025-11-14 19:21:06 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2025-11-14 19:21:06 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2025-11-14 19:21:07 [scrapy.core.engine] DEBUG: Crawled (404) <GET https://m.maoyan.com/ajax/movieonshow> (referer: https://m.maoyan.com/)
2025-11-14 19:21:07 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <404 https://m.maoyan.com/ajax/movieonshow>: HTTP status code is not handled or not allowed
2025-11-14 19:21:07 [scrapy.core.engine] INFO: Closing spider (finished)
2025-11-14 19:21:07 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 347,
'downloader/request_count': 1,
'downloader/request_method_count/GET': 1,
'downloader/response_bytes': 9827,
'downloader/response_count': 1,
'downloader/response_status_count/404': 1,
'elapsed_time_seconds': 1.019072,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2025, 11, 14, 11, 21, 7, 822334, tzinfo=datetime.timezone.utc),
'httpcompression/response_bytes': 11691,
'httpcompression/response_count': 1,
'httperror/response_ignored_count': 1,
'httperror/response_ignored_status_count/404': 1,
'log_count/DEBUG': 2,
'log_count/INFO': 11,
'log_count/WARNING': 1,
'response_received_count': 1,
'scheduler/dequeued': 1,
'scheduler/dequeued/memory': 1,
'scheduler/enqueued': 1,
'scheduler/enqueued/memory': 1,
'start_time': datetime.datetime(2025, 11, 14, 11, 21, 6, 803262, tzinfo=datetime.timezone.utc)}
2025-11-14 19:21:07 [scrapy.core.engine] INFO: Spider closed (finished)
PS C:\Users\童琪琪\Desktop\bishe.6\biyesheji.6\movie_analysis_project>
最新发布