commit changes
This commit is contained in:
parent
81cdb61101
commit
f620c56f64
|
@ -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)
|
||||
content = requests.get(iframe).text
|
||||
|
||||
print(content)
|
Loading…
Reference in New Issue