import requests
from bs4 import BeautifulSoup


adresa = input("Zadej web:")

web = "https://" + adresa

# Making a GET request
r = requests.get(web)

# check status code for response received
# success code - 200
print(r)

# Parsing the HTML
soup = BeautifulSoup(r.content, 'html.parser')

znacky = soup.find_all("a")

for znacka in znacky:
	if "kontakty" in znacka["href"]:
		print(znacka["href"])
	

