CodePudding user response:
Bs4 parsing HTML codeWhat's you parse???
After regular matching is a thing,
CodePudding user response:
Chapter_reg type is a list, you use the first parameter of the incoming BeautifulSoup is string type, of course not, change BeautifulSoup (chapter_reg [0], 'LXML') are not satisfied, there are points: