Skip to content

Instantly share code, notes, and snippets.

@JoeThunyathep
Last active February 21, 2022 20:08
Show Gist options
  • Save JoeThunyathep/194036a8c93aba428a11bf8514245f50 to your computer and use it in GitHub Desktop.
Save JoeThunyathep/194036a8c93aba428a11bf8514245f50 to your computer and use it in GitHub Desktop.
# Load modules
import requests,datetime
from bs4 import BeautifulSoup
# Load Data
url = "https://www.stuttgart-airport.com/security-wait-times/"
req = requests.get(url)
# Parse HTML and search for Class/ID/Xpath...
bsObj = BeautifulSoup(req.text, "html.parser")
data = bsObj.find_all("div", .... )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment