Вот что у меня пока:
Код: Выделить всё
url_fac='https://www.aacps.org/Page/4014'
print(url_fac)
req_fac = urllib.request.Request(url_fac, headers=hdr)
html_page_fac = urllib.request.urlopen(req_fac)
soup_fac = BeautifulSoup(html_page_fac, "lxml")
links_fac=soup_fac.find_all('a')
Подробнее здесь: https://stackoverflow.com/questions/635 ... nt-formats