diff --git a/homeharvest/core/scrapers/__init__.py b/homeharvest/core/scrapers/__init__.py index aef6cad..165f051 100644 --- a/homeharvest/core/scrapers/__init__.py +++ b/homeharvest/core/scrapers/__init__.py @@ -82,14 +82,14 @@ class Scraper: Scraper.session.headers.update( { 'Content-Type': 'application/json', - 'apollographql-client-version': '26.11.0-26.11.0.0249758', + 'apollographql-client-version': '26.11.1-26.11.1.1106489', 'Accept': '*/*', 'Accept-Language': 'en-US,en;q=0.9', - 'rdc-client-version': '26.11.0', + 'rdc-client-version': '26.11.1', 'X-APOLLO-OPERATION-TYPE': 'query', 'rdc-client-name': 'RDC_NATIVE_MOBILE-iPhone-com.move.Realtor', 'apollographql-client-name': 'com.move.Realtor-apollo-ios', - 'User-Agent': 'Realtor.com/26.11.0.0249758 CFNetwork/3860.200.71 Darwin/25.1.0', + 'User-Agent': 'Realtor.com/26.11.1.1106489 CFNetwork/3860.200.71 Darwin/25.1.0', } ) diff --git a/homeharvest/core/scrapers/realtor/__init__.py b/homeharvest/core/scrapers/realtor/__init__.py index 7ad40ca..71193e8 100644 --- a/homeharvest/core/scrapers/realtor/__init__.py +++ b/homeharvest/core/scrapers/realtor/__init__.py @@ -71,7 +71,7 @@ class RealtorScraper(Scraper): "variables": variables, } - response = self.session.post(self.SEARCH_GQL_URL, json=payload) + response = self.session.post(self.SEARCH_GQL_URL, data=json.dumps(payload, separators=(',', ':'))) if response.status_code == 403: if not self.proxy: diff --git a/pyproject.toml b/pyproject.toml index e563455..d131204 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "homeharvest" -version = "0.8.10" +version = "0.8.11" description = "Real estate scraping library" authors = ["Zachary Hampton ", "Cullen Watson "] homepage = "https://github.com/ZacharyHampton/HomeHarvest"