2026-07-09 01:50:24 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_check_in) 2026-07-09 01:50:24 [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, Jun 22 2026, 18:55:27) [GCC 11.4.0], pyOpenSSL 24.3.0 (OpenSSL 3.4.0 22 Oct 2024), cryptography 44.0.0, Platform Linux-6.8.0-1060-aws-aarch64-with-glibc2.35 2026-07-09 01:50:24 [zomato_integration_check] INFO: Dynamic attribute _job = c4428d907b3511f182b3b7f7997b43e5 2026-07-09 01:50:24 [zomato_integration_check] INFO: Connected to Redis 2026-07-09 01:50:24 [scrapy.addons] INFO: Enabled addons: [] 2026-07-09 01:50:24 [asyncio] DEBUG: Using selector: EpollSelector 2026-07-09 01:50:24 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-07-09 01:50:24 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-07-09 01:50:24 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2026-07-09 01:50:24 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2026-07-09 01:50:24 [scrapy.extensions.telnet] INFO: Telnet Password: 5dd63701aae5b1ed 2026-07-09 01:50:24 [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-09 01:50:24 [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/c4428d907b3511f182b3b7f7997b43e5.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-07-09 01:50:27 [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-07-09 01:50:27 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2026-07-09 01:50:27 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_check_in.pipelines.ZomatoCheckInPipeline'] 2026-07-09 01:50:27 [scrapy.core.engine] INFO: Spider opened 2026-07-09 01:50:27 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2026-07-09 01:50:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:28 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/setup/ HTTP/11" 200 None 2026-07-09 01:50:28 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6024 2026-07-09 01:50:28 [zomato_integration_check] INFO: No Redis session found for client_id=339, falling back to DB 2026-07-09 01:50:28 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-07-09 01:50:28 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 3401 2026-07-09 01:50:32 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:32 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/proxy_port/?job_id=7238516 HTTP/11" 200 None 2026-07-09 01:50:32 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:33 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=zomato.com HTTP/11" 200 241 2026-07-09 01:50:35 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/) 2026-07-09 01:50:35 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:36 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=restaverse.com HTTP/11" 200 245 2026-07-09 01:50:38 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/webroutes/auth/csrf) 2026-07-09 01:50:38 [zomato_integration_check] INFO: Found 9 restaurant IDs from database for client_id 339 2026-07-09 01:50:43 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:43 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-07-09 01:50:45 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:46 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:47 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:47 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:48 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:48 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:49 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:49 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:50 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:50 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22387831) 2026-07-09 01:50:50 [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-07-09 01:50:50 [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-07-09 01:50:53 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:53 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22643394) 2026-07-09 01:50:53 [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-07-09 01:50:53 [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-07-09 01:50:54 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:54 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22435121) 2026-07-09 01:50:54 [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-07-09 01:50:54 [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-07-09 01:50:54 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:54 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22569440) 2026-07-09 01:50:54 [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-07-09 01:50:54 [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-07-09 01:50:55 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:55 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22208828) 2026-07-09 01:50:55 [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-07-09 01:50:55 [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-07-09 01:50:56 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:56 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22569382) 2026-07-09 01:50:56 [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-07-09 01:50:56 [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-07-09 01:50:56 [scrapeops_scrapy.middleware.retry] DEBUG: Retrying (failed 1 times): 403 Forbidden 2026-07-09 01:50:57 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:57 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22565422) 2026-07-09 01:50:57 [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-07-09 01:50:57 [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-07-09 01:50:58 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:50:58 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-07-09 01:50:59 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:50:59 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=22622118) 2026-07-09 01:50:59 [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-07-09 01:50:59 [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-07-09 01:51:05 [scrapeops_scrapy.middleware.retry] ERROR: Gave up retrying (failed 2 times): 403 Forbidden 2026-07-09 01:51:05 [scrapy.core.engine] DEBUG: Crawled (403) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=21992187) 2026-07-09 01:51:05 [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-07-09 01:51:05 [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-07-09 01:51:05 [scrapy.core.engine] INFO: Closing spider (finished) 2026-07-09 01:51:05 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-07-09 01:51:05 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 442 2026-07-09 01:51:05 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2026-07-09 01:51:05 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /insert_data_with_update/ HTTP/11" 201 91 2026-07-09 01:51:05 [zomato_integration_check] INFO: 2026-07-09 01:51:05 [zomato_integration_check] INFO: {"task_id":"b22be31c-52e2-4fb2-8e37-fa4f00c9861e","status":"Task enqueued","database":null} 2026-07-09 01:51:05 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2026-07-09 01:51:06 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 109 2026-07-09 01:51:06 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'client_id': '339', 'downloader/request_bytes': 85923, 'downloader/request_count': 20, 'downloader/request_method_count/GET': 19, 'downloader/request_method_count/POST': 1, 'downloader/response_bytes': 77120, 'downloader/response_count': 20, 'downloader/response_status_count/200': 2, 'downloader/response_status_count/403': 18, 'elapsed_time_seconds': 37.885511, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2026, 7, 9, 1, 51, 5, 622558, 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': 118390784, 'memusage/startup': 118390784, '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, 7, 9, 1, 50, 27, 737047, tzinfo=datetime.timezone.utc)} 2026-07-09 01:51:06 [scrapy.core.engine] INFO: Spider closed (finished)