12 lines
291 B
Python
12 lines
291 B
Python
from bs4 import BeautifulSoup
|
|
import requests
|
|
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"]
|
|
|
|
print(iframe) |