Aug-01-2023, 08:45 PM
Hey Snippsat,
Reaching back out to you on this. Any idea why the following:
isn't returning any data in the above request?
Is it possible that they changed the code on their website https://www.totalwine.com/spirits/tequil...rules=true
I can confirm that it worked on the CCN Code below:
Reaching back out to you on this. Any idea why the following:
Quote:stock = soup.select_one('#AT-atc-upsell')
if stock.text == 'Add to cart':
isn't returning any data in the above request?
Is it possible that they changed the code on their website https://www.totalwine.com/spirits/tequil...rules=true
I can confirm that it worked on the CCN Code below:
Quote:url = 'https://edition.cnn.com/'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'html.parser')
print(soup.find('title').text)