package duqu;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
public class duqu {
public static void main(String[] args) {
String strUrl = "http://so.iqiyi.com/so/q_%E5%A4%8F%E6%9C%89%E4%B9%94%E6%9C%A8%E9%9B%85%E6%9C%9B%E5%A4%A9%E5%A0%82?source=suggest&sr=1073022967936";
try {
URL url = new URL(strUrl);
InputStreamReader isr = new InputStreamReader(url.openStream(),
"utf-8");
BufferedReader br = new BufferedReader(isr);
相关分类