commit changes

This commit is contained in:
Al-P 2019-07-30 15:30:25 +02:00
parent 81cdb61101
commit f620c56f64
1 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ import csv
source = requests.get('https://www.philanthropycalendar.eu/').text source = requests.get('https://www.philanthropycalendar.eu/').text
soup = BeautifulSoup(source, 'lxml') soup = BeautifulSoup(source, 'lxml')
iframe = soup.find("iframe")[''] iframe = soup.find("iframe")["data-src"]
# link = iframe.find("iframe")['href']
# event_url = soup.find("iframe")["href"]
print(iframe) content = requests.get(iframe).text
print(content)