The idea of a plug-in for collecting Sina weather is to first obtain the IP address, then obtain the location of the IP address, and then collect weather data based on the IP address. The database is not used, but a pure version of the IP library is used, which is suitable for learning and research.