import requests
url="http://www.booking.com/reviewlist.en-gb.html?pagename=quot-bielis-quot;cc1=xa"
page = requests.get(url)
if page.status_code==200:
print 'OK'
else:
print 'error page code:',page.status_code
User-Agent
Попробуйте так:headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}
response = requests.get(url, headers=headers)
pip install fake-useragent
from fake_useragent import UserAgent
ua = UserAgent()
headers = {'User-Agent': ua.random}
response = requests.get(url, headers=headers)