When python3 uses urllib to climb a web page, why does he get only the top half of the html?

python version 3.7.0
when using the urllib crawler to get the html code of a web page, there was an error and the error was ignored.

html = data.decode(charset,errors="ignore")

gets only the top half of the html.

clipboard.png

clipboard.png

means that part of it is missing.
I would like to ask the great gods, what is this situation?
No results can be found on the Internet. Am I the only one to meet?
it"s true that python is fast at writing crawlers, but I"ve stepped on several holes at first.

Mar.22,2021
The

problem is solved. It is the problem of vs code. It would be nice to change the debugging environment. It seems that vs code still can not be used as a development environment.


is the content of the crawl too large. Vscode only displays

within a certain size by default.
Menu