from bs4 import BeautifulSoup import requests url="URL_HERE" response=requests.get(url) soup=BeautifulSoup(response.content) spans=soup.find_all('span',"_class_here") for span in spans: print(span.text)