I’m using BeautifulSoup to scrape data from this page
https://ar.aliexpress.com/item/1005005938472246.html?srcSns=sns_Copy&spreadType=socialShare&bizType=ProductDetail&social_params=6000125334692&aff_fcid=fa92b1c71fa24004abcdef7403d6b5ce-1720420873640-05509-_ol34ftA&tt=MG&aff_fsk=_ol34ftA&aff_platform=default&sk=_ol34ftA&aff_trace_key=fa92b1c71fa24004abcdef7403d6b5ce-1720420873640-05509-_ol34ftA&shareId=6000125334692&businessType=ProductDetail&platform=AE&terminal_id=ceca01f0c1344926ac6d6e295b70dbfb&afSmartRedirect=y&gatewayAdapt=glo2ara
I tried a simple code to scrape the main section using
soup.find('div', class_ = "pdp-body pdp-wrap")
but it returns none. I double checked the class name, and the syntax is pretty stright forward, what am I doing wrong?
Marco Nashaat is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.