mirror of
https://github.com/Bunsly/HomeHarvest.git
synced 2026-03-07 13:04:30 -08:00
- zillow proxy support
This commit is contained in:
@@ -20,11 +20,12 @@ from datetime import datetime, timedelta
|
||||
|
||||
class ZillowScraper(Scraper):
|
||||
def __init__(self, scraper_input):
|
||||
super().__init__(scraper_input)
|
||||
self.session = tls_client.Session(
|
||||
session = tls_client.Session(
|
||||
client_identifier="chrome112", random_tls_extension_order=True
|
||||
)
|
||||
|
||||
super().__init__(scraper_input, session)
|
||||
|
||||
self.session.headers.update({
|
||||
'authority': 'www.zillow.com',
|
||||
'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',
|
||||
|
||||
Reference in New Issue
Block a user