Spaces:
Runtime error
Runtime error
Pranjal2041
commited on
Commit
•
6c841a9
1
Parent(s):
ad64dda
Fix Error Msg
Browse files- fetch_prod.py +0 -2
fetch_prod.py
CHANGED
@@ -13,8 +13,6 @@ class Scraper:
|
|
13 |
def sanity_url(self, url : str) -> bool:
|
14 |
if url.find('amazon')==-1:
|
15 |
return False
|
16 |
-
if url.find('product')==-1:
|
17 |
-
return False
|
18 |
return True
|
19 |
|
20 |
def get_product(self, url : str) -> Dict:
|
|
|
13 |
def sanity_url(self, url : str) -> bool:
|
14 |
if url.find('amazon')==-1:
|
15 |
return False
|
|
|
|
|
16 |
return True
|
17 |
|
18 |
def get_product(self, url : str) -> Dict:
|