2026-05-09 01:45:38 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_check_in) 2026-05-09 01:45:38 [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-09 01:45:38 [zomato_integration_check] INFO: Dynamic attribute _job = a86d9b084b4611f1a1c4fdb76d1b31f2 2026-05-09 01:45:38 [zomato_integration_check] INFO: Connected to Redis 2026-05-09 01:45:38 [scrapy.addons] INFO: Enabled addons: [] 2026-05-09 01:45:38 [asyncio] DEBUG: Using selector: EpollSelector 2026-05-09 01:45:38 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-05-09 01:45:38 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-05-09 01:45:38 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-05-09 01:45:38 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-05-09 01:45:38 [scrapy.extensions.telnet] INFO: Telnet Password: db0e5bbad42787fb 2026-05-09 01:45:38 [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-09 01:45:38 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'zomato_check_in', 'CONCURRENT_REQUESTS': 8, 'FEED_EXPORT_ENCODING': 'utf-8', 'LOG_FILE': '/home/ubuntu/restaverse_spiders/logs/zomato_check_in/zomato_integration_check/a86d9b084b4611f1a1c4fdb76d1b31f2.log', 'NEWSPIDER_MODULE': 'zomato_check_in.spiders', 'RETRY_HTTP_CODES': [403, 500, 502, 503, 504, 408], 'RETRY_TIMES': 1, 'SPIDER_MODULES': ['zomato_check_in.spiders'], 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor'} 2026-05-09 01:45:41 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware', 'zomato_check_in.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-09 01:45:41 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2026-05-09 01:45:41 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_check_in.pipelines.ZomatoCheckInPipeline'] 2026-05-09 01:45:41 [scrapy.core.engine] INFO: Spider opened 2026-05-09 01:45:41 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2026-05-09 01:45:41 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:45:42 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/setup/ HTTP/11" 200 None 2026-05-09 01:45:42 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6026 2026-05-09 01:45:42 [zomato_integration_check] INFO: No Redis session found for client_id=339, falling back to DB 2026-05-09 01:45:42 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-05-09 01:45:42 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 3397 2026-05-09 01:45:46 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:45:46 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/proxy_port/?job_id=6762315 HTTP/11" 200 None 2026-05-09 01:45:46 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:45:47 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=zomato.com HTTP/11" 200 241 2026-05-09 01:45:49 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/) 2026-05-09 01:45:49 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:45:50 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=restaverse.com HTTP/11" 200 245 2026-05-09 01:45:51 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/webroutes/auth/csrf) 2026-05-09 01:45:52 [zomato_integration_check] INFO: Found 9 restaurant IDs from database for client_id 339 2026-05-09 01:45:57 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:45:58 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-05-09 01:46:01 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:03 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:04 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:04 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:05 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:06 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:06 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:07 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:08 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:08 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22643394) 2026-05-09 01:46:08 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22643394. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:08 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22643394&business_type=o2> None 2026-05-09 01:46:08 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:08 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22387831) 2026-05-09 01:46:08 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22387831. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:08 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22387831&business_type=o2> None 2026-05-09 01:46:11 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-05-09 01:46:12 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:46:13 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-05-09 01:46:19 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:19 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22569440) 2026-05-09 01:46:19 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22569440. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:19 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22569440&business_type=o2> None 2026-05-09 01:46:20 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:20 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22622118) 2026-05-09 01:46:20 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22622118. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:20 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22622118&business_type=o2> None 2026-05-09 01:46:20 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:20 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=21992187) 2026-05-09 01:46:20 [zomato_integration_check] ERROR: 403 Forbidden for res_id 21992187. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:20 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=21992187&business_type=o2> None 2026-05-09 01:46:21 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:21 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22208828) 2026-05-09 01:46:21 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:21 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22435121) 2026-05-09 01:46:21 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22208828. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:21 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22208828&business_type=o2> None 2026-05-09 01:46:21 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22435121. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:21 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22435121&business_type=o2> None 2026-05-09 01:46:22 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:22 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22565422) 2026-05-09 01:46:22 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22565422. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:22 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22565422&business_type=o2> None 2026-05-09 01:46:22 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-05-09 01:46:22 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22569382) 2026-05-09 01:46:22 [zomato_integration_check] ERROR: 403 Forbidden for res_id 22569382. Response: {"status":false,"code":1020,"message":"Not authorised for the restaurant","display":{"image":"https:\/\/b.zmtcdn.com\/data\/o2_assets\/241d53f646972ed0ffb41193f7e188f71622638524.png","title":"Oops! Access denied","subtitle":"You are not authorised to access this outlet anymore","cta":{"text":"Switch outlet","bg_color":"#256FEF","deeplink":"zomato-merchant:\/\/switch_outlet"}}} 2026-05-09 01:46:22 [scrapy.core.scraper] DEBUG: Scraped from <403 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=22569382&business_type=o2> None 2026-05-09 01:46:22 [scrapy.core.engine] INFO: Closing spider (finished) 2026-05-09 01:46:22 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-05-09 01:46:22 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 442 2026-05-09 01:46:22 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-05-09 01:46:22 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /insert_data_with_update/ HTTP/11" 201 91 2026-05-09 01:46:22 [zomato_integration_check] INFO: 2026-05-09 01:46:22 [zomato_integration_check] INFO: {"task_id":"7136c4bf-ef6a-4927-abd4-6bd4aa595e7a","status":"Task enqueued","database":null} 2026-05-09 01:46:22 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-05-09 01:46:23 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-05-09 01:46:23 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'client_id': '339', 'downloader/request_bytes': 85803, 'downloader/request_count': 20, 'downloader/request_method_count/GET': 19, 'downloader/request_method_count/POST': 1, 'downloader/response_bytes': 77121, 'downloader/response_count': 20, 'downloader/response_status_count/200': 2, 'downloader/response_status_count/403': 18, 'elapsed_time_seconds': 41.100167, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2026, 5, 9, 1, 46, 22, 990483, tzinfo=datetime.timezone.utc), 'httpcompression/response_bytes': 70, 'httpcompression/response_count': 1, 'item_scraped_count': 9, 'items_per_minute': None, 'log_count/DEBUG': 54, 'log_count/ERROR': 18, 'log_count/INFO': 14, 'memusage/max': 114384896, 'memusage/startup': 114384896, 'request_depth_max': 2, 'response_received_count': 11, 'responses_per_minute': None, 'retry/count': 9, 'retry/max_reached': 9, 'retry/reason_count/403 Forbidden': 9, 'scheduler/dequeued': 20, 'scheduler/dequeued/memory': 20, 'scheduler/enqueued': 20, 'scheduler/enqueued/memory': 20, 'start_time': datetime.datetime(2026, 5, 9, 1, 45, 41, 890316, tzinfo=datetime.timezone.utc)} 2026-05-09 01:46:23 [scrapy.core.engine] INFO: Spider closed (finished)