I just learned Python recently, so I made a python crawler and crawled 147 novels.
Just learning python, what are the shortcomings, boss, please point out
Analyze 147 web page structure
You can use GoogleF12
Open the console
The chapter list was found by<dd></dd>
package
Chapter titles are provided by<div class="bookname"></div>
LowerH1
Label package
The contents of this chapter are provided by<div id="content"></div>
LowerP
Label package
Don’t talk too much, just code
#Novels from the 147 novel website
This work adoptsCC agreement, reprint must indicate the author and the link to this article