package com.test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; public class Test { public static void main(String[] args) { String st = "北京"; String str = catchPage("http://api.liqwei.com/weat