I'm trying to learn webscraping in python. I followed Tim's tutorial until I got to a problem on minute 13: [Youtube] (https://www.youtube.com/watch?v=gRLHr664tXA&ab_channel=TechWithTim)
You can copy-paste the code to check out the problem. I used a small merch website since Amazon blocked access.
from bs4 import BeautifulSoup
import requests
#Add amazon site to access prices
URL = "https://do-something.de/products/just-do-something-t-shirt"
#get HTML file from URL
Web_Data = requests.get(URL)
#Parse (make correct syntax for the)document
HTML_File = BeautifulSoup(Web_Data.text, "html.parser")
#Make a variable for finding all requested strings
###PROBLEM: I want to find the substring, not the exact string,
# which is in this case "25,00€". I only want it to check the "€" sign
prices = BeautifulSoup.find_all(HTML_File, text='€')
#Print file
print(prices)