Вы можете получить контент с этой страницы, используя HTTP-запросы, как показано ниже.
import requests
from bs4 import BeautifulSoup
link = 'https://www.telemart.pk/index.php/home/listed/click/{}'
payload = {
'category': '35',
'rating': '',
'sub_category': '',
'brand': '',
'attributesids': '',
'ishiddenprice': '0',
'featured': '',
'range': '6499;471999',
'express_delivery': '',
'text': '',
'view_type': 'grid'
}
with requests.Session() as s:
r = s.get(link)
csrf_id = r.cookies['csrf_cookie_name']
payload['csrf_test_name'] = csrf_id
for i in range(0,144,48):
res = s.post(link.format(i),data=payload,headers={"x-requested-with":"XMLHttpRequest"})
soup = BeautifulSoup(res.text,"html.parser")
for item in soup.select(".product-details"):
product_name = item.select_one("h2.product-name").get_text(strip=True)
price = item.select_one(".price > ins").get_text(strip=True)
print(product_name,price)