import requests
from bs4 import BeautifulSoup


#adresa = input("Zadej web:")

web = "https://vypocetka.luzanky.cz/zokej/scrap"

# Making a GET request
r = requests.get(web)
# check status code for response received
# success code - 200
if r.status_code == 200:
	
	print(r.content)

	# Parsing the HTML
	soup = BeautifulSoup(r.content, 'html.parser')


	ul = soup.find_all("ul")
	print (ul)

	podpisy = soup.find_all("em")

	seznam_autoru = []

	for podpis in podpisy:
		seznam_autoru.append(podpis.text)
	
	#print(seznam_autoru)

else:
	print("Web se nepodařilo načíst")
