Traditional Culture Encyclopedia - Weather forecast - Get the Html of the weather
Get the Html of the weather
# Get temperature, humidity, wind power, etc.
Weather _URL_A = "/data/sk/%s.html "
# Get weather conditions, maximum/minimum temperatures, etc.
WEATHER _ URL _ B = "/data/city info/% s . html "
# Get the weather data for the next 7 days
Weather _URL_C = "/weather/%s.shtml "
The %s in the URL refers to the code corresponding to the city. Detailed reference:
blogs.com/toosuo/p/3868004.html
However, some interfaces in this article are no longer available.
Of the three URLs I gave above, the first two directly return data in json format; The third return is a page from which you need to extract the information you want.
- Previous article:Weather forecast of Zhutang in Jiangyin
- Next article:Five-day tour of Guilin
- Related articles
- The Four Seasons of Rain Composition
- When do the cherry blossoms in Wuhan bloom?
- Is Zhengzhou Big Corn in Erqi District?
- Can eye shadow be put in the refrigerator?
- Write a composition, my friend.
- Is melting snow a weather phenomenon?
- What programs can be divided into in an application?
- How do you think medical staff should spend the summer when they report heatstroke and faint during nucleic acid sampling?
- What's the climate like in Shenzhen
- In Nanxun: Find a misty and rainy south of the Yangtze River and a happy world.