# -*- coding: utf-8 -*- import requests from bs4 import BeautifulSoup url = 'https://www.radissonblu.com/en/hotel-bodo/location' r = requests.get(url) soup = BeautifulSoup(r.text, 'html5lib') elements = soup.find_all('div', attrs={'class': 'detail general-content'}) for elem in elements: s = elem.prettify().encode('utf8', errors='backslashreplace') print s