Home > other >  Small white solution, create soup object is wrong where we have a problem how to solve
Small white solution, create soup object is wrong where we have a problem how to solve

Time:09-24

CodePudding user response:

Bs4 parsing HTML code
What'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:
  • Related