# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

from bs4 import BeautifulSoup
from selenium import webdriver
import time
import pandas as pd
import regex

driver = webdriver.Chrome(r"C:\Users\mkart\OneDrive\Documents\Python\Mysore_Real_Estate_Price\chromedriver_win32\chromedriver.exe")
driver.get('https://www.99acres.com/search/property/buy/residential-all/mysore?city=126&property_type=1%2C4%2C2%2C5&preference=S&area_unit=1&budget_min=0&res_com=R')
soup = BeautifulSoup(driver.page_source, 'html.parser')
#listings = soup.find_all("a", class_="srpTuple__tupleDetails ")
print(soup)

pattern = regex.compile(r'\{(?:[^{}]|(?R))*\}')

pattern.findall(soup)



StarcoderdataJupyterScriptsDedupFiltered