2023-01-23 13:24:13 [scrapy.utils.log] INFO: Scrapy 2.5.0 started (bot: modularspiders) 2023-01-23 13:24:13 [scrapy.utils.log] INFO: Versions: lxml 4.6.3.0, libxml2 2.9.10, cssselect 1.1.0, parsel 1.6.0, w3lib 1.21.0, Twisted 21.2.0, Python 3.6.9 (default, Apr 18 2020, 01:56:04) - [GCC 8.4.0], pyOpenSSL 20.0.1 (OpenSSL 1.1.1k 25 Mar 2021), cryptography 3.4.7, Platform Linux-4.15.0-108-generic-x86_64-with-Ubuntu-18.04-bionic 2023-01-23 13:24:13 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.epollreactor.EPollReactor 2023-01-23 13:24:13 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'modularspiders', 'LOG_FILE': 'logs/default/monome/180354d299ad11edab900242ac110018.log', 'NEWSPIDER_MODULE': 'modularspiders.spiders', 'ROBOTSTXT_OBEY': True, 'SPIDER_MODULES': ['modularspiders.spiders'], 'USER_AGENT': 'Mozilla/5.0 (compatible; Googlebot/2.1; ' '+http://www.google.com/bot.html)'} 2023-01-23 13:24:13 [scrapy.extensions.telnet] INFO: Telnet Password: d6958a94fc46b386 2023-01-23 13:24:13 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage', 'scrapy.extensions.logstats.LogStats'] 2023-01-23 13:24:13 [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'] 2023-01-23 13:24:13 [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'] 2023-01-23 13:24:13 [scrapy.middleware] INFO: Enabled item pipelines: ['modularspiders.pipelines.MinimumViableItemPipeline', 'modularspiders.pipelines.RedisExporter', 'modularspiders.pipelines.BulkStoreUpdate'] 2023-01-23 13:24:13 [scrapy.core.engine] INFO: Spider opened 2023-01-23 13:24:13 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2023-01-23 13:24:13 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6025 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: None) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: None) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:14 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/ansible> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/ansible_medium.jpg?v=1473367201', 'is_used': False, 'manufacturer': 'monome', 'name': 'ansible', 'price': '280.00', 'ships_from_region': 'US', 'stock_status': 0, 'store_code': 'monome', 'url': 'https://market.monome.org/products/ansible', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/2021-keypad-set> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif', 'is_used': False, 'manufacturer': 'monome', 'name': '2021 keypad set', 'price': '60.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/2021-keypad-set', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/shield-postcard> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/shield-postcard_medium.jpg?v=1664982922', 'is_used': False, 'manufacturer': 'monome', 'name': 'shield postcard', 'price': '50.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/shield-postcard', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/40h-keypad-set> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/40h-keypad_medium.JPG?v=1507043393', 'is_used': False, 'manufacturer': 'monome', 'name': 'kit keypad set (4)', 'price': '50.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/40h-keypad-set', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/keypad-set-8x8> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/keypad_medium.JPG?v=1507043422', 'is_used': False, 'manufacturer': 'monome', 'name': 'keypad set (4)', 'price': '40.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/keypad-set-8x8', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/norns-shield-with-pi4> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/norns-shield_918a33b2-68f8-46bc-beaf-ab5f5e9eef63_medium.png?v=1645457688', 'is_used': False, 'manufacturer': 'monome', 'name': 'norns shield with pi4', 'price': '375.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/norns-shield-with-pi4', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/grid-b-stock> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/grid-atrium_a3009b7d-8078-45ef-930f-66b6698b5133_medium.jpg?v=1635781827', 'is_used': False, 'manufacturer': 'monome', 'name': 'grid b-stock', 'price': '550.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/grid-b-stock', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/norns-shield> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/norns-shield_0f5e5538-a490-4db0-b9fb-dd6aadad4e34_medium.png?v=1624300065', 'is_used': False, 'manufacturer': 'monome', 'name': 'norns shield', 'price': '300.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/norns-shield', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/norns-unlisted> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/norns-black_medium.jpg?v=1668813703', 'is_used': False, 'manufacturer': 'monome', 'name': 'norns-unlisted', 'price': '900.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/norns-unlisted', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/crow> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/crow_medium.jpg?v=1569593632', 'is_used': False, 'manufacturer': 'monome', 'name': 'crow', 'price': '200.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/crow', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/norns> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/norns-black_c5ccaec7-a8f4-423e-890f-5e727c05a9e9_medium.jpg?v=1668876472', 'is_used': False, 'manufacturer': 'monome', 'name': 'norns', 'price': '900.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/norns', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] ERROR: Spider error processing (referer: https://market.monome.org/sitemap_products_1.xml?from=228877709&to=4844191416425) Traceback (most recent call last): File "/code/lib/python3.6/site-packages/twisted/internet/defer.py", line 662, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/code/modularspiders/spiders/monome.py", line 21, in parse return self.parse_product(response) File "/code/modularspiders/spiders/base.py", line 67, in parse_product loader.add_value("price", self.get_price(response)) File "/code/modularspiders/spiders/monome.py", line 34, in get_price value = value.strip().replace("$", "") AttributeError: 'NoneType' object has no attribute 'strip' 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/teletype> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/teletype_medium.jpg?v=1473366988', 'is_used': False, 'manufacturer': 'monome', 'name': 'teletype', 'price': '400.00', 'ships_from_region': 'US', 'stock_status': 0, 'store_code': 'monome', 'url': 'https://market.monome.org/products/teletype', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/usb-keyboard> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/usb-keyboard_medium.JPG?v=1507043125', 'is_used': False, 'manufacturer': 'monome', 'name': 'usb keyboard', 'price': '24.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/usb-keyboard', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.scraper] DEBUG: Scraped from <200 https://market.monome.org/products/grid> {'batch_id': '5450', 'currency_code': 'USD', 'image_url': 'https://cdn.shopify.com/s/files/1/0265/4183/products/grid-dark_medium.jpg?v=1621260357', 'is_used': False, 'manufacturer': 'monome', 'name': 'grid', 'price': '700.00', 'ships_from_region': 'US', 'stock_status': 1, 'store_code': 'monome', 'url': 'https://market.monome.org/products/grid', 'vat_included': False} 2023-01-23 13:24:15 [scrapy.core.engine] INFO: Closing spider (finished) 2023-01-23 13:24:15 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): wigglehunt.com:443 2023-01-23 13:24:15 [py.warnings] WARNING: /code/lib/python3.6/site-packages/urllib3/connectionpool.py:986: InsecureRequestWarning: Unverified HTTPS request is being made to host 'wigglehunt.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning, 2023-01-23 13:24:15 [urllib3.connectionpool] DEBUG: https://wigglehunt.com:443 "GET /api/v1/_ingest-complete?store_code=monome&batch_id=5450 HTTP/1.1" 200 16 2023-01-23 13:24:15 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'downloader/request_bytes': 13215, 'downloader/request_count': 17, 'downloader/request_method_count/GET': 17, 'downloader/response_bytes': 210018, 'downloader/response_count': 17, 'downloader/response_status_count/200': 17, 'elapsed_time_seconds': 2.131797, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2023, 1, 23, 13, 24, 15, 954802), 'httpcompression/response_bytes': 616636, 'httpcompression/response_count': 17, 'item_scraped_count': 14, 'log_count/DEBUG': 33, 'log_count/ERROR': 1, 'log_count/INFO': 10, 'log_count/WARNING': 1, 'memusage/max': 71651328, 'memusage/startup': 71651328, 'request_depth_max': 1, 'response_received_count': 17, 'robotstxt/request_count': 1, 'robotstxt/response_count': 1, 'robotstxt/response_status_count/200': 1, 'scheduler/dequeued': 16, 'scheduler/dequeued/memory': 16, 'scheduler/enqueued': 16, 'scheduler/enqueued/memory': 16, 'spider_exceptions/AttributeError': 1, 'start_time': datetime.datetime(2023, 1, 23, 13, 24, 13, 823005)} 2023-01-23 13:24:15 [scrapy.core.engine] INFO: Spider closed (finished)