Skip to content

Instantly share code, notes, and snippets.

@samrose
Created August 2, 2019 19:02
Show Gist options
  • Save samrose/808fd870da2ebce91054a88e4b9dff7f to your computer and use it in GitHub Desktop.
Save samrose/808fd870da2ebce91054a88e4b9dff7f to your computer and use it in GitHub Desktop.
scrapy crawl holo-hackmd
2019-08-02 15:01:26 [scrapy.utils.log] INFO: Scrapy 1.7.3 started (bot: hackmd)
2019-08-02 15:01:26 [scrapy.utils.log] INFO: Versions: lxml 4.4.0.0, libxml2 2.9.9, cssselect 1.0.3, parsel 1.5.1, w3lib 1.20.0, Twisted 19.2.1, Python 3.6.8 (default, Jan 14 2019, 11:02:34) - [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]], pyOpenSSL 19.0.0 (OpenSSL 1.1.1c 28 May 2019), cryptography 2.7, Platform Linux-5.0.0-21-generic-x86_64-with-Ubuntu-18.04-bionic
2019-08-02 15:01:26 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'hackmd', 'NEWSPIDER_MODULE': 'hackmd.spiders', 'ROBOTSTXT_OBEY': True, 'SPIDER_MODULES': ['hackmd.spiders']}
2019-08-02 15:01:26 [scrapy.extensions.telnet] INFO: Telnet Password: 3afa1e6503ba6057
2019-08-02 15:01:26 [scrapy.middleware] INFO: Enabled extensions:
['scrapy.extensions.corestats.CoreStats',
'scrapy.extensions.telnet.TelnetConsole',
'scrapy.extensions.memusage.MemoryUsage',
'scrapy.extensions.logstats.LogStats']
2019-08-02 15:01:26 [scrapy.middleware] INFO: Enabled downloader middlewares:
['scrapy.downloadermiddlewares.robotstxt.RobotsTxtMiddleware',
'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-08-02 15:01:26 [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']
2019-08-02 15:01:26 [scrapy.middleware] INFO: Enabled item pipelines:
[]
2019-08-02 15:01:26 [scrapy.core.engine] INFO: Spider opened
2019-08-02 15:01:26 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min)
2019-08-02 15:01:26 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023
2019-08-02 15:01:27 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting (301) to <GET https://hackmd.io> from <GET http://hackmd.io/robots.txt>
2019-08-02 15:01:27 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://hackmd.io> (referer: None)
2019-08-02 15:01:28 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting (301) to <GET https://hackmd.io> from <GET http://hackmd.io/mQLBSFCDTzmWOdyUSWp2XQ/>
2019-08-02 15:01:28 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://hackmd.io> (referer: None)
2019-08-02 15:01:28 [scrapy.core.engine] INFO: Closing spider (finished)
2019-08-02 15:01:28 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
{'downloader/request_bytes': 1050,
'downloader/request_count': 4,
'downloader/request_method_count/GET': 4,
'downloader/response_bytes': 28910,
'downloader/response_count': 4,
'downloader/response_status_count/200': 2,
'downloader/response_status_count/301': 2,
'elapsed_time_seconds': 1.691062,
'finish_reason': 'finished',
'finish_time': datetime.datetime(2019, 8, 2, 19, 1, 28, 415361),
'log_count/DEBUG': 4,
'log_count/INFO': 10,
'memusage/max': 53346304,
'memusage/startup': 53346304,
'response_received_count': 2,
'robotstxt/request_count': 1,
'robotstxt/response_count': 1,
'robotstxt/response_status_count/200': 1,
'scheduler/dequeued': 2,
'scheduler/dequeued/memory': 2,
'scheduler/enqueued': 2,
'scheduler/enqueued/memory': 2,
'start_time': datetime.datetime(2019, 8, 2, 19, 1, 26, 724299)}
2019-08-02 15:01:28 [scrapy.core.engine] INFO: Spider closed (finished)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment