Skip to content

Commit 1d94444

Browse files
author
Adriano Sanges
committed
Log response text in parse_listing function for debugging purposes
1 parent a40b76a commit 1d94444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

real-estate-etl/scraper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ def parse_listing(url: str) -> List[Dict[str, Optional[any]]]:
127127
}
128128
logging.debug("Fetching main listing page: %s", url)
129129
response = requests.get(url, headers=headers)
130+
print(response.text)
130131
soup = BeautifulSoup(response.text, 'html.parser')
131132
data_list = []
132133
links = soup.select('a.in-listingCardTitle')

0 commit comments

Comments
 (0)