I am not able to use the HTML tags in my code
while scrapping the images
can you help me ahead with the code
here the site link:
https://www.snapdeal.com/search?keyword=mobile&santizedKeyword=&catId=&categoryId=0&suggested=false&vertical=&noOfResults=20&searchState=&clickSrc=go_header&lastKeyword=&prodCatId=&changeBackToAll=false&foundInAll=false&categoryIdSearched=&cityPageUrl=&categoryUrl=&url=&utmContent=&dealDetail=&sort=rlvncy
Not Able to scrap images
hey @sarthaktech23 ,
Can you please share with me , what approach are you using to scrap this website.
import bs4 import requests
url=“https://www.snapdeal.com/search?keyword=mobile&santizedKeyword=&catId=&categoryId=0&suggested=false&vertical=&noOfResults=20&searchState=&clickSrc=go_header&lastKeyword=&prodCatId=&changeBackToAll=false&foundInAll=false&categoryIdSearched=&cityPageUrl=&categoryUrl=&url=&utmContent=&dealDetail=” response=requests.get(url) soup=bs4.BeautifulSoup(response.content) section_element=soup.findAll(‘section’) section_element[0] section=section_element[0]
after doing all this i dont how to select html tags from the websites
just simply loop in using the findall functions
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.