#!/usr/bin/env python3
import requests
from string import Template
import re
from bs4 import BeautifulSoup
import unicodedata
import logging
logging.basicConfig(
format='%(asctime)s : %(levelname)s : %(message)s', level=logging.INFO)
def get_address(url):
page = requests.get(url, timeout=10)
soup = BeautifulSoup(page.text, 'html.parser')
address = soup.find(class_='adres adres2').find_next('div', class_='row')
return '|'.join(list(address.stripped_strings))
# description = soup.find(class_='tytul5 clear').find_next(class_='row')
# match = re.search('www: (.*?)