I downloaded the page of China Weather Network using Python and requests, but the content of "Typhoon Dynamics" on the left was missing. That"s strange. How to solve it?
this is what happens when I download the web page and open it.
the following is my source code, please help me solve it.
problem description
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
import requests, os
from bs4 import BeautifulSoup
url =" http://typhoon.weather.com.cn/"
page = requests.get (url)
with open ("page.html", "walled, encoding="utf-8") as f:
f.write(page.text)