Commit 85340913 authored by Alexander Beck's avatar Alexander Beck
Browse files

test

parent 5cc276b0
import requests
from bs4 import BeautifulSoup
import lxml
source= requests.get('https://www.hs-augsburg.de/Geistes-und-Naturwissenschaften/Soziale-Arbeit.html').text
soup=BeautifulSoup(source, 'lxml')
suche=soup.find('<p><a class="multiline hyphenate" href="../Geistes-und-Naturwissenschaften.html"> Geistes- und Naturwissenschaften </a></p>')
x=suche.p.a.text
print(x)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment