import urllib.request, urllib.parse, urllib.error, urllib.request, urllib.error, urllib.parse, http.cookiejar
cookie_jar = http.cookiejar.CookieJar()
opener = urllib.request.build_opener(urllib.request.HTTPCookieProcessor(cookie_jar))
urllib.request.install_opener(opener)
url_1 = (
    """http://www.bkstr.com/webapp/wcs/stores/servlet/BuybackMaterialsView?langId=-1&catalogId=10001&storeId=10051&schoolStoreId=15828"""
    )
req = urllib.request.Request(url_1)
rsp = urllib.request.urlopen(req)
url_2 = 'http://www.bkstr.com/webapp/wcs/stores/servlet/BuybackSearch'
values = dict(isbn='9780131185838', schoolStoreId='15828', catalogId='10001')
data = urllib.parse.urlencode(values)
req = urllib.request.Request(url_2, data)
rsp = urllib.request.urlopen(req)
content = rsp.read()
import re
pat = re.compile('Title:.*')
print(pat.search(content).group())
Making HTTP POST request