diff --git a/src/Kalender/scrape_DAFNE_online.py b/src/Kalender/scrape_DAFNE_online.py index 96e1872..275d416 100644 --- a/src/Kalender/scrape_DAFNE_online.py +++ b/src/Kalender/scrape_DAFNE_online.py @@ -5,8 +5,8 @@ import csv source = requests.get('https://www.philanthropycalendar.eu/').text soup = BeautifulSoup(source, 'lxml') -iframe = soup.find("iframe")[''] -# link = iframe.find("iframe")['href'] -# event_url = soup.find("iframe")["href"] +iframe = soup.find("iframe")["data-src"] -print(iframe) \ No newline at end of file +content = requests.get(iframe).text + +print(content) \ No newline at end of file