Spaces:
Runtime error
Runtime error
Commit ·
8bece50
1
Parent(s): 8e04dba
Update scraper/utils/UltaScraper.py
Browse files
scraper/utils/UltaScraper.py
CHANGED
|
@@ -41,6 +41,7 @@ class UltaScraper:
|
|
| 41 |
url = f"{self.base_url}shop/{category}/all"
|
| 42 |
print(url)
|
| 43 |
response = requests.get(url, headers=self.headers)
|
|
|
|
| 44 |
soup = BeautifulSoup(response.text, "html.parser")
|
| 45 |
total_results_text = soup.find(
|
| 46 |
"div", {
|
|
|
|
| 41 |
url = f"{self.base_url}shop/{category}/all"
|
| 42 |
print(url)
|
| 43 |
response = requests.get(url, headers=self.headers)
|
| 44 |
+
print(response.text)
|
| 45 |
soup = BeautifulSoup(response.text, "html.parser")
|
| 46 |
total_results_text = soup.find(
|
| 47 |
"div", {
|