2026-05-05 07:30:11 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_order_history) 2026-05-05 07:30:11 [scrapy.utils.log] INFO: Versions: lxml 5.3.0.0, libxml2 2.12.9, cssselect 1.2.0, parsel 1.9.1, w3lib 2.2.1, Twisted 24.11.0, Python 3.10.12 (main, Mar 3 2026, 11:56:32) [GCC 11.4.0], pyOpenSSL 24.3.0 (OpenSSL 3.4.0 22 Oct 2024), cryptography 44.0.0, Platform Linux-6.8.0-1044-aws-aarch64-with-glibc2.35 2026-05-05 07:30:11 [zomato_discounts] INFO: Dynamic attribute _job = 2_2026-05-05T07_30_02 2026-05-05 07:30:11 [zomato_discounts] INFO: Dynamic attribute scheduled_job_id = 7407 2026-05-05 07:30:11 [zomato_discounts] INFO: Dynamic attribute SCRAPEOPS_JOB_NAME = 2 2026-05-05 07:30:11 [scrapy.addons] INFO: Enabled addons: [] 2026-05-05 07:30:11 [scrapy.extensions.telnet] INFO: Telnet Password: 3ec8f8368df829f3 2026-05-05 07:30:11 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage', 'scrapy.extensions.logstats.LogStats', 'scrapeops_scrapy.extension.ScrapeOpsMonitor'] 2026-05-05 07:30:11 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'zomato_order_history', 'CONCURRENT_REQUESTS': 8, 'FEED_EXPORT_ENCODING': 'utf-8', 'LOG_FILE': '/home/ubuntu/restaverse_spiders/logs/zomato_order_history/zomato_discounts/2_2026-05-05T07_30_02.log', 'LOG_LEVEL': 'INFO', 'NEWSPIDER_MODULE': 'zomato_order_history.spiders', 'RETRY_HTTP_CODES': [500, 502, 503, 504], 'RETRY_TIMES': 1, 'SPIDER_MODULES': ['zomato_order_history.spiders'], 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor'} 2026-05-05 07:30:27 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware', 'zomato_order_history.middlewares.ZomatoCentralRateLimitMiddleware', 'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy_user_agents.middlewares.RandomUserAgentMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapeops_scrapy.middleware.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'] 2026-05-05 07:30:27 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2026-05-05 07:30:27 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_order_history.pipelines.ZomatoOrderHistoryPipeline'] 2026-05-05 07:30:27 [scrapy.core.engine] INFO: Spider opened 2026-05-05 07:30:27 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2026-05-05 07:30:29 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023 2026-05-05 07:30:32 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:30:33 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:30:38 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:30:40 [zomato_discounts] INFO: Job merchant-api-gateway::mx_order_history_download_v4::v1::8731532420099057502::1777966200000 still in progress. Poll attempt 1 2026-05-05 07:30:45 [zomato_discounts] INFO: Job merchant-api-gateway::mx_order_history_download_v4::v1::8731532420099057502::1777966200000 still in progress. Poll attempt 2 2026-05-05 07:30:51 [zomato_discounts] INFO: Job merchant-api-gateway::mx_order_history_download_v4::v1::8731532420099057502::1777966200000 still in progress. Poll attempt 3 2026-05-05 07:30:57 [zomato_discounts] INFO: Job merchant-api-gateway::mx_order_history_download_v4::v1::8731532420099057502::1777966200000 still in progress. Poll attempt 4 2026-05-05 07:31:03 [zomato_discounts] WARNING: Job merchant-api-gateway::mx_order_history_download_v4::v1::8731532420099057502::1777966200000 failed or max polls reached. 2026-05-05 07:31:03 [scrapy.core.engine] INFO: Closing spider (finished) 2026-05-05 07:31:05 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'client_id': '2', 'downloader/request_bytes': 43188, 'downloader/request_count': 9, 'downloader/request_method_count/GET': 8, 'downloader/request_method_count/POST': 1, 'downloader/response_bytes': 61060, 'downloader/response_count': 9, 'downloader/response_status_count/200': 9, 'elapsed_time_seconds': 36.018086, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2026, 5, 5, 7, 31, 3, 356514, tzinfo=datetime.timezone.utc), 'httpcompression/response_bytes': 693596, 'httpcompression/response_count': 3, 'items_per_minute': None, 'log_count/INFO': 14, 'log_count/WARNING': 4, 'memusage/max': 115159040, 'memusage/startup': 115159040, 'request_depth_max': 8, 'response_received_count': 9, 'responses_per_minute': None, 'scheduler/dequeued': 9, 'scheduler/dequeued/memory': 9, 'scheduler/enqueued': 9, 'scheduler/enqueued/memory': 9, 'start_time': datetime.datetime(2026, 5, 5, 7, 30, 27, 338428, tzinfo=datetime.timezone.utc)} 2026-05-05 07:31:05 [scrapy.core.engine] INFO: Spider closed (finished) 2026-05-05 07:31:10 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_order_history) 2026-05-05 07:31:10 [scrapy.utils.log] INFO: Versions: lxml 5.3.0.0, libxml2 2.12.9, cssselect 1.2.0, parsel 1.9.1, w3lib 2.2.1, Twisted 24.11.0, Python 3.10.12 (main, Mar 3 2026, 11:56:32) [GCC 11.4.0], pyOpenSSL 24.3.0 (OpenSSL 3.4.0 22 Oct 2024), cryptography 44.0.0, Platform Linux-6.8.0-1044-aws-aarch64-with-glibc2.35 2026-05-05 07:31:10 [zomato_discounts] INFO: Dynamic attribute _job = 2_2026-05-05T07_30_02 2026-05-05 07:31:10 [zomato_discounts] INFO: Dynamic attribute scheduled_job_id = 11254 2026-05-05 07:31:10 [zomato_discounts] INFO: Dynamic attribute SCRAPEOPS_JOB_NAME = 2 2026-05-05 07:31:10 [scrapy.addons] INFO: Enabled addons: [] 2026-05-05 07:31:10 [scrapy.extensions.telnet] INFO: Telnet Password: f04360ecf2499a65 2026-05-05 07:31:10 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage', 'scrapy.extensions.logstats.LogStats', 'scrapeops_scrapy.extension.ScrapeOpsMonitor'] 2026-05-05 07:31:10 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'zomato_order_history', 'CONCURRENT_REQUESTS': 8, 'FEED_EXPORT_ENCODING': 'utf-8', 'LOG_FILE': '/home/ubuntu/restaverse_spiders/logs/zomato_order_history/zomato_discounts/2_2026-05-05T07_30_02.log', 'LOG_LEVEL': 'INFO', 'NEWSPIDER_MODULE': 'zomato_order_history.spiders', 'RETRY_HTTP_CODES': [500, 502, 503, 504], 'RETRY_TIMES': 1, 'SPIDER_MODULES': ['zomato_order_history.spiders'], 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor'} 2026-05-05 07:31:23 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware', 'zomato_order_history.middlewares.ZomatoCentralRateLimitMiddleware', 'scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy_user_agents.middlewares.RandomUserAgentMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapeops_scrapy.middleware.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'] 2026-05-05 07:31:23 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2026-05-05 07:31:23 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_order_history.pipelines.ZomatoOrderHistoryPipeline'] 2026-05-05 07:31:23 [scrapy.core.engine] INFO: Spider opened 2026-05-05 07:31:23 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2026-05-05 07:31:23 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6025 2026-05-05 07:31:27 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:31:27 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:31:32 [scrapy.downloadermiddlewares.cookies] WARNING: Invalid cookie found in request : {'name': 'csrf', 'value': None, 'secure': True} ('value' is missing) 2026-05-05 07:32:23 [scrapy.extensions.logstats] INFO: Crawled 5 pages (at 5 pages/min), scraped 0 items (at 0 items/min) 2026-05-05 07:33:20 [scrapy.core.downloader.handlers.http11] WARNING: Got data loss in https://prod-jumbo-insights-service.s3.ap-southeast-1.amazonaws.com/merchant-api-gateway/mx_order_history_download_v4/v1/merchant-api-gateway%3A%3Amx_order_history_download_v4%3A%3Av1%3A%3A8731532420099057502%3A%3A1777966200000/order_history_20260504_20260504.zip?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Checksum-Mode=ENABLED&X-Amz-Credential=ASIA5RVPIJ4E5IZMZZZH%2F20260505%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20260505T073133Z&X-Amz-Expires=21600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjELP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDmFwLXNvdXRoZWFzdC0xIkcwRQIgf7PKk0TERDejJpsEiHYnyS9AC5%2FHyX1RJt7NgMKHagICIQDvajDAgKWzzxuG75O%2Bew0%2BfACrxHGDEku7sf0BeOQXZSr%2BAwh8EAAaDDkzMTMwMTcwNzUyOSIMsj7aDoV%2FMpsb95PFKtsD%2FCv%2BSVPbuEalY%2FCg32wO0pG05lqUxZ6KT6%2Fc5R42I%2BwRHfSspht9pYNSNcqJ9%2FG1VEsFhUQR2FbiJBziU2LVh68r9PFmT1a08QfUpQOoZtK%2BsRY3EaEtG5%2FntbKCHNuCcjugrMeXOrcdpMyVlbK179eX%2BUxO61PgeYXjlcXtphML8I%2FZtyzFBzCr0kjC5y0g%2FJnay799cIsV2ighzzY3VxWD4T51NYUeqkx6%2BWXB4ZPdAA63eByXeEhTtOG4tVuPXYZXsgg11IY9ttWs%2B6hjZn7S68X%2BpHk6Eujqpyq7rztq4CwG4s%2FlLS1N%2F36YDQ7lUbCs2idYsSsE6zaOWK0x1w5z8gv5AUKmvtHiJKiOTvBTLByp7A2fx1Q3gMN%2F5uhbWIVieoWKinUm7OHJ2cMUBjeCDa4oB9qPKItD%2F3gpJP4zQgjxzrQszb%2B051Khz8Kzk22lxECZ4z1XdHOd6JqZ4B74NwMvwQ%2BmZyymERDRfE7q9tsG256Fsg3FgdVIQYN07%2BIo2CiypVqc%2BncQq34XgjRxMbEkNKo3GUDflWW84HsEC%2FHsZmdCA3Lj1q2rLyPoXEuph0zOF39p5OFtMbU79YKuhNBCnG1Tu9VLozRyDur9kZqjPOjku8LFXjDlteXPBjqlAXsj9gt0GefLD4Eds4txHxQ55XAxFJBLWyFZFTlDhTBL9c4aIvoenyHkUeOVa4P7X%2F6Z9PYdyW7TE7riwr3AnzvMt0YN92s99C9Y9bcyXictW9mxgBedsG4dtHkKqVTKNTS3CO8LhfCWvFEoUu%2FnV4OmY1%2BG2KH6SWEXixM770UKU7RPC1lsBs%2B1wf1OPLl0R02nTM%2BaKFg2tAfMz4KY7SbbbeNpOA%3D%3D&X-Amz-SignedHeaders=host&x-id=GetObject&X-Amz-Signature=28dc8ea5460e4a2501ebca849f8db0c4878c5df0b727c98a2ce12899056e69c1. If you want to process broken responses set the setting DOWNLOAD_FAIL_ON_DATALOSS = False -- This message won't be shown in further requests 2026-05-05 07:33:20 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): [, ] 2026-05-05 07:33:20 [scrapy.core.engine] INFO: Closing spider (finished) 2026-05-05 07:33:21 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'client_id': '2', 'downloader/exception_count': 2, 'downloader/exception_type_count/twisted.web._newclient.ResponseFailed': 1, 'downloader/exception_type_count/twisted.web._newclient.ResponseNeverReceived': 1, 'downloader/request_bytes': 32210, 'downloader/request_count': 7, 'downloader/request_method_count/GET': 6, 'downloader/request_method_count/POST': 1, 'downloader/response_bytes': 61721, 'downloader/response_count': 5, 'downloader/response_status_count/200': 5, 'elapsed_time_seconds': 117.452175, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2026, 5, 5, 7, 33, 20, 709233, tzinfo=datetime.timezone.utc), 'httpcompression/response_bytes': 697408, 'httpcompression/response_count': 5, 'items_per_minute': None, 'log_count/ERROR': 1, 'log_count/INFO': 11, 'log_count/WARNING': 4, 'memusage/max': 130846720, 'memusage/startup': 114987008, 'request_depth_max': 5, 'response_received_count': 5, 'responses_per_minute': None, 'retry/count': 1, 'retry/max_reached': 1, 'retry/reason_count/twisted.web._newclient.ResponseNeverReceived': 1, 'scheduler/dequeued': 7, 'scheduler/dequeued/memory': 7, 'scheduler/enqueued': 7, 'scheduler/enqueued/memory': 7, 'start_time': datetime.datetime(2026, 5, 5, 7, 31, 23, 257058, tzinfo=datetime.timezone.utc)} 2026-05-05 07:33:21 [scrapy.core.engine] INFO: Spider closed (finished)