The below mentioned code does not generating any output.
import requests
from bs4 import BeautifulSoup
url = “https://seller.indiamart.com/bltxn/?pref=recent”
Send a GET request to the website
response = requests.get(url)
Create a BeautifulSoup object to parse the HTML content
soup = BeautifulSoup(response.content, “html.parser”)
Find all elements with ID=buyer_name_wa
buyer_name_elements = soup.find_all(id=“buyer_name_wa”)
Extract the values from the elements
buyer_names = [element.text for element in buyer_name_elements]
Print the extracted values
for buyer_name in buyer_names:
print(buyer_name)