2026-07-06 04:30:06 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_dining) 2026-07-06 04:30:06 [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-07-06 04:30:06 [dining_ads_insights_zomato] INFO: Dynamic attribute _job = 2_2026-07-06T04_30_02 2026-07-06 04:30:06 [dining_ads_insights_zomato] INFO: Dynamic attribute scheduled_job_id = 11820 2026-07-06 04:30:06 [dining_ads_insights_zomato] INFO: Dynamic attribute SCRAPEOPS_JOB_NAME = 2 2026-07-06 04:30:06 [scrapy.addons] INFO: Enabled addons: [] 2026-07-06 04:30:06 [py.warnings] WARNING: /home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/scrapy/utils/request.py:120: ScrapyDeprecationWarning: 'REQUEST_FINGERPRINTER_IMPLEMENTATION' is a deprecated setting. It will be removed in a future version of Scrapy. return cls(crawler) 2026-07-06 04:30:06 [asyncio] DEBUG: Using selector: EpollSelector 2026-07-06 04:30:06 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-07-06 04:30:06 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-07-06 04:30:06 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-07-06 04:30:06 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-07-06 04:30:06 [scrapy.extensions.telnet] INFO: Telnet Password: 5e28e2409080a42b 2026-07-06 04:30:06 [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-07-06 04:30:06 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'zomato_dining', 'CONCURRENT_REQUESTS': 8, 'FEED_EXPORT_ENCODING': 'utf-8', 'LOG_FILE': '/home/ubuntu/restaverse_spiders/logs/zomato_dining/dining_ads_insights_zomato/2_2026-07-06T04_30_02.log', 'NEWSPIDER_MODULE': 'zomato_dining.spiders', 'REQUEST_FINGERPRINTER_IMPLEMENTATION': '2.7', 'RETRY_HTTP_CODES': [500, 502, 503, 504], 'RETRY_TIMES': 1, 'SPIDER_MODULES': ['zomato_dining.spiders'], 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor', 'USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, ' 'like Gecko) Chrome/127.0.0.0 Safari/537.36'} 2026-07-06 04:30:07 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Android 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Sony BDV13, Brand: Sony, Model: BDV13 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Nintendo DSi, Brand: Nintendo, Model: DSi 2026-07-06 04:30:08 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Other 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: LYF F90M, Brand: LYF, Model: F90M 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Sony BDV14, Brand: Sony, Model: BDV14 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: LG Web0S SmartTV, Brand: LG, Model: Web0S SmartTV 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:09 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Sony BDV11, Brand: Sony, Model: BDV11 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Nintendo DSi, Brand: Nintendo, Model: DSi 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: LYF LF-2403N, Brand: LYF, Model: LF-2403N 2026-07-06 04:30:10 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: LYF F90M, Brand: LYF, Model: F90M 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Applebot 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Applebot 2026-07-06 04:30:11 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Other 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Other 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: SMTBot 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:12 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: WebKit Nightly 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: PhantomJS 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Robot 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedDeviceType] Family: Other, Brand: None, Model: None 2026-07-06 04:30:13 [scrapy_user_agents.user_agent_picker] WARNING: [UnsupportedBrowserType] Family: Zune 2026-07-06 04:30:13 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware', 'zomato_dining.middlewares.ZomatoCentralRateLimitMiddleware', 'zomato_dining.middlewares.RedisCacheMiddleware', '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-07-06 04:30:13 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'zomato_dining.middlewares.ZomatoDiningSpiderMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2026-07-06 04:30:13 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_dining.pipelines.ZomatoDiningPipeline'] 2026-07-06 04:30:13 [scrapy.core.engine] INFO: Spider opened 2026-07-06 04:30:13 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2026-07-06 04:30:13 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-06 04:30:14 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/setup/ HTTP/11" 200 None 2026-07-06 04:30:14 [dining_ads_insights_zomato] INFO: Spider opened: dining_ads_insights_zomato 2026-07-06 04:30:14 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6025 2026-07-06 04:30:14 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-07-06 04:30:14 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 3555 2026-07-06 04:30:14 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-06 04:30:15 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/proxy_port/?job_id=7215128 HTTP/11" 200 None 2026-07-06 04:30:15 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-06 04:30:16 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=zomato.com HTTP/11" 200 241 2026-07-06 04:30:16 [scrapy.core.scraper] ERROR: Error downloading Traceback (most recent call last): File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/twisted/internet/defer.py", line 2017, in _inlineCallbacks result = context.run(gen.send, result) File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/scrapy/core/downloader/middleware.py", line 57, in process_request method(request=request, spider=spider) File "/home/ubuntu/restaverse_spiders/eggs/zomato_dining/1780136416.egg/zomato_dining/middlewares.py", line 213, in process_request ctx = request.meta["zomato_ctx"] KeyError: 'zomato_ctx' 2026-07-06 04:30:16 [scrapy.core.engine] INFO: Closing spider (finished) 2026-07-06 04:30:16 [scrapy.core.engine] ERROR: Scraper close failure Traceback (most recent call last): File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3805, in get_loc return self._engine.get_loc(casted_key) File "index.pyx", line 167, in pandas._libs.index.IndexEngine.get_loc File "index.pyx", line 196, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 7081, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 7089, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'res_id' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/twisted/internet/defer.py", line 1088, in _runCallbacks current.result = callback( # type: ignore[misc] File "/home/ubuntu/restaverse_spiders/eggs/zomato_dining/1780136416.egg/zomato_dining/pipelines.py", line 20, in close_spider res_id_list = result_df["res_id"].astype(str).unique().tolist() File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/pandas/core/frame.py", line 4102, in __getitem__ indexer = self.columns.get_loc(key) File "/home/ubuntu/restaverse_spiders/venv/lib/python3.10/site-packages/pandas/core/indexes/base.py", line 3812, in get_loc raise KeyError(key) from err KeyError: 'res_id' 2026-07-06 04:30:16 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-06 04:30:16 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-07-06 04:30:16 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'downloader/exception_count': 1, 'downloader/exception_type_count/builtins.KeyError': 1, 'elapsed_time_seconds': 2.396524, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2026, 7, 6, 4, 30, 16, 268643, tzinfo=datetime.timezone.utc), 'items_per_minute': None, 'log_count/DEBUG': 15, 'log_count/ERROR': 2, 'log_count/INFO': 11, 'log_count/WARNING': 46, 'memusage/max': 118816768, 'memusage/startup': 118816768, 'responses_per_minute': None, 'scheduler/dequeued': 1, 'scheduler/dequeued/memory': 1, 'scheduler/enqueued': 1, 'scheduler/enqueued/memory': 1, 'start_time': datetime.datetime(2026, 7, 6, 4, 30, 13, 872119, tzinfo=datetime.timezone.utc)} 2026-07-06 04:30:16 [scrapy.core.engine] INFO: Spider closed (finished)