Hi can someone help me run this python script in nodeRed and print the message.
import cfscrape
import requests
from bs4 import BeautifulSoup
# Use cfscrape to bypass Cloudflare protection
scraper = cfscrape.create_scraper()
# Send a GET request to the website
response = scraper.get("https://robu.in/product/spx3819m5-l-3-3-tr-500ma-low-noise-ldo-voltage-regulator-5-pin-sot-23/")
# Parse the HTML content
soup = BeautifulSoup(response.content, "html.parser")
# Find the element containing the availability information
availability_element = soup.find("p", class_="stock in-stock")
availability_element1 = soup.find("p", class_="stock out-of-stock")
# Extract the availability information
if availability_element:
availability = availability_element.text
print(f"Availability: {availability}")
elif availability_element1:
availability1 = availability_element1.text
print(f"Availability: {availability1}")