url='http://www.dm5.com/manhua-piaoliujiaoshi/'
url2='http://www.dm5.com'
headers={
'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36'
}
r = requests.get(url,headers=headers)
soup = BeautifulSoup(r.text,'html.parser')
lists=soup.find('ul',class_="view-win-list detail-list-select")
dict={}
print(soup.find(class_="title").getText())
for i in lists.find_all('li'):
dict={
"章节":i.find('a',href=re.compile('^/m11')).getText()[0:4],
"地址":url2+str(i.find('a',href=re.compile('^/m11')).get('href'))