2025-09-16 10:35:09 [scrapy.utils.log] INFO: Scrapy 2.12.0 started (bot: zomato_check_in) 2025-09-16 10:35:09 [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, Aug 15 2025, 14:32:43) [GCC 11.4.0], pyOpenSSL 24.3.0 (OpenSSL 3.4.0 22 Oct 2024), cryptography 44.0.0, Platform Linux-6.8.0-1015-aws-aarch64-with-glibc2.35 2025-09-16 10:35:09 [integration_check] INFO: Dynamic attribute _job = a663ddae92e811f0929fa729f0037d6c 2025-09-16 10:35:09 [scrapy.addons] INFO: Enabled addons: [] 2025-09-16 10:35:09 [asyncio] DEBUG: Using selector: EpollSelector 2025-09-16 10:35:09 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2025-09-16 10:35:09 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2025-09-16 10:35:09 [scrapy.utils.log] DEBUG: Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor 2025-09-16 10:35:09 [scrapy.utils.log] DEBUG: Using asyncio event loop: asyncio.unix_events._UnixSelectorEventLoop 2025-09-16 10:35:09 [scrapy.extensions.telnet] INFO: Telnet Password: bc5c86e42a079bd1 2025-09-16 10:35:09 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.memusage.MemoryUsage', 'scrapy.extensions.logstats.LogStats', 'scrapy_extensions.extension.BandwidthLoggerExtension', 'scrapeops_scrapy.extension.ScrapeOpsMonitor'] 2025-09-16 10:35:09 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'zomato_check_in', 'FEED_EXPORT_ENCODING': 'utf-8', 'LOG_FILE': '/home/ubuntu/restaverse_spiders/logs/zomato_check_in/integration_check/a663ddae92e811f0929fa729f0037d6c.log', 'NEWSPIDER_MODULE': 'zomato_check_in.spiders', 'SPIDER_MODULES': ['zomato_check_in.spiders'], 'TWISTED_REACTOR': 'twisted.internet.asyncioreactor.AsyncioSelectorReactor'} 2025-09-16 10:35:09 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.offsite.OffsiteMiddleware', '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'] 2025-09-16 10:35:09 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2025-09-16 10:35:09 [scrapy.middleware] INFO: Enabled item pipelines: ['zomato_check_in.pipelines.ZomatoCheckInPipeline'] 2025-09-16 10:35:09 [scrapy.core.engine] INFO: Spider opened 2025-09-16 10:35:09 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2025-09-16 10:35:09 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:10 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/setup/ HTTP/11" 200 None 2025-09-16 10:35:10 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6027 2025-09-16 10:35:10 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2025-09-16 10:35:10 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 3338 2025-09-16 10:35:10 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:11 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/proxy_port/?job_id=4919327 HTTP/11" 200 None 2025-09-16 10:35:11 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:12 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=zomato.com HTTP/11" 200 241 2025-09-16 10:35:22 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/partners/onlineordering/orderHistory/) 2025-09-16 10:35:22 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:22 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/normalizer/domain/?domain=restaverse.com HTTP/11" 200 245 2025-09-16 10:35:24 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:25 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 108 2025-09-16 10:35:25 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/webroutes/auth/csrf) 2025-09-16 10:35:25 [integration_check] INFO: Found 2 restaurant IDs from database for client_id 296 2025-09-16 10:35:26 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=21882169) 2025-09-16 10:35:27 [integration_check] INFO: Res ID 21882169: Found emails {'reviews@restaverse.com', 'foodsforeva@gmail.com'}, target: reviews@restaverse.com, zomato_manager_access: True 2025-09-16 10:35:27 [scrapy.core.scraper] DEBUG: Scraped from <200 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=21882169&business_type=o2> None 2025-09-16 10:35:27 [scrapy.core.engine] DEBUG: Crawled (200) (referer: https://www.zomato.com/partners/onlineordering/outletInfo/contactDetails?resId=21595596) 2025-09-16 10:35:27 [integration_check] INFO: Res ID 21595596: Found emails {'reviews@restaverse.com', 'mohit.anand@zomato.com', 'foodsforeva@gmail.com'}, target: reviews@restaverse.com, zomato_manager_access: True 2025-09-16 10:35:27 [scrapy.core.scraper] DEBUG: Scraped from <200 https://www.zomato.com/merchant-api/contacts/v2/get-all?res_id=21595596&business_type=o2> None 2025-09-16 10:35:27 [scrapy.core.engine] INFO: Closing spider (finished) 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /api/db_services/fetch-query HTTP/11" 200 97 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): cron.restaverse.com:443 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: https://cron.restaverse.com:443 "POST /insert_data_with_update/ HTTP/11" 201 91 2025-09-16 10:35:27 [integration_check] INFO: 2025-09-16 10:35:27 [integration_check] INFO: Logger Payload: {'run_id': 'd8d3fdd1-124f-40bb-8e82-b0ccf1849730', 'timestamp': '2025-09-16T10:35:27Z', 'spider': 'integration_check', 'client_id': '296', 'domain': 'www.zomato.com', 'bytes_sent': 0, 'bytes_received': 10849, 'duration_seconds': 17.63, 'host': 'ip-172-31-16-168', 'status': 'finished'} 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): watchdog.restaverse.com:9200 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: http://watchdog.restaverse.com:9200 "POST /scrapy-2025-09-16/_doc HTTP/11" 201 168 2025-09-16 10:35:27 [integration_check] INFO: Logger Payload: {'run_id': 'd8d3fdd1-124f-40bb-8e82-b0ccf1849730', 'timestamp': '2025-09-16T10:35:27Z', 'spider': 'integration_check', 'client_id': '296', 'domain': 'cron.restaverse.com', 'bytes_sent': 108, 'bytes_received': 45, 'duration_seconds': 17.63, 'host': 'ip-172-31-16-168', 'status': 'finished'} 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: Starting new HTTP connection (1): watchdog.restaverse.com:9200 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: http://watchdog.restaverse.com:9200 "POST /scrapy-2025-09-16/_doc HTTP/11" 201 169 2025-09-16 10:35:27 [urllib3.connectionpool] DEBUG: Starting new HTTPS connection (1): api.scrapeops.io:443 2025-09-16 10:35:28 [urllib3.connectionpool] DEBUG: https://api.scrapeops.io:443 "POST /api/v1/stats/ HTTP/11" 200 108 2025-09-16 10:35:28 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'client_id': '296', 'downloader/request_bytes': 17526, 'downloader/request_count': 4, 'downloader/request_method_count/GET': 3, 'downloader/request_method_count/POST': 1, 'downloader/response_bytes': 13239, 'downloader/response_count': 4, 'downloader/response_status_count/200': 4, 'elapsed_time_seconds': 17.633323, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2025, 9, 16, 10, 35, 27, 548248, tzinfo=datetime.timezone.utc), 'httpcompression/response_bytes': 10849, 'httpcompression/response_count': 3, 'item_scraped_count': 2, 'items_per_minute': None, 'log_count/DEBUG': 33, 'log_count/INFO': 16, 'memusage/max': 109301760, 'memusage/startup': 109301760, 'request_depth_max': 2, 'response_received_count': 4, 'responses_per_minute': None, 'scheduler/dequeued': 4, 'scheduler/dequeued/memory': 4, 'scheduler/enqueued': 4, 'scheduler/enqueued/memory': 4, 'start_time': datetime.datetime(2025, 9, 16, 10, 35, 9, 914925, tzinfo=datetime.timezone.utc)} 2025-09-16 10:35:28 [scrapy.core.engine] INFO: Spider closed (finished)