public static void main(String[] args) {
		Random random = new Random();
		// 从指定文件读取信息
		List<String[]> inputList = CSVManager.readCSVContentAll();
		if(inputList == null ||inputList.size() <= 0){
			logger.error("输入文件没有信息");
			return;
		}
		List<String[]> outputList = new ArrayList<String[]>();
		long count = 1;
		for (String[] strArr : inputList) {
			String meeting = strArr[0];
			String title = strArr[1];
			String authors = strArr[2];
			// 解析数据为论文类
			Thsis t = new Thsis();
			t.setMeeting(meeting);
			t.setTitle(title);
			
			
			t.setAuthors(authors);

			// 查询论文引用和摘要
			try {
				// 每次查询都间隔随机的时间
				Thread.sleep(random.nextInt(15)*1000);
				logger.info(String.format("获取第%s个论文信息,标题：%s", count,t.getTitle()));
				t = GoogleScholarReaderHelper.searchThsis(t);
				if(t != null){
					String[] outArr = new String[4];
					outArr[0] = t.getMeeting();
					outArr[1] = t.getTitle();
					outArr[2] = t.getAuthors();
					outArr[3] = t.getCitiedBy();
					outputList.add(outArr);
				}
			} catch (IOException e) {
				e.printStackTrace();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			break;
//			if(count >=100){
//				break;
//			}
//			count++;
		}
		CSVManager.writeCSV(outputList);
	}