From 8962d619e114de0e73790494d3baaed89cacdd01 Mon Sep 17 00:00:00 2001 From: james Date: Sun, 1 Oct 2023 11:31:51 +0800 Subject: [PATCH] Match observed behaivor in FireFox of not sending ua-ch headers in request to prevent recent 403 --- homeharvest/core/scrapers/zillow/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeharvest/core/scrapers/zillow/__init__.py b/homeharvest/core/scrapers/zillow/__init__.py index b77f5f0..ba55a01 100644 --- a/homeharvest/core/scrapers/zillow/__init__.py +++ b/homeharvest/core/scrapers/zillow/__init__.py @@ -31,9 +31,6 @@ class ZillowScraper(Scraper): 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'accept-language': 'en-US,en;q=0.9', 'cache-control': 'max-age=0', - 'sec-ch-ua': '"Chromium";v="117", "Not)A;Brand";v="24", "Google Chrome";v="117"', - 'sec-ch-ua-mobile': '?0', - 'sec-ch-ua-platform': '"Windows"', 'sec-fetch-dest': 'document', 'sec-fetch-mode': 'navigate', 'sec-fetch-site': 'same-origin',