public static void readErrorShop(CrawlShopUrlListFromDianPing crawlList,DBIn in) throws InterruptedException{
		File file = new File("errorurl.txt");
//		readUrl(crawlList);
		int counts = 0;
		int Nums = 0;
		List<String> list =new ArrayList<>();
		try {
			RandomAccessFile accessFile = new RandomAccessFile(file, "rw");
			try {
				while(true){
					counts++;
					if(counts<Nums){
						continue;
					}
					System.out.println("counts:"+counts);
					String url = accessFile.readUTF();
					if(list.contains(url)){
						continue;
					}
					list.add(url);
					
					System.out.print(url+"  ");
					boolean isOk = true;
					Shop shop=null;
					do{
						isOk = true;
						try{
							System.out.println("crawl:"+url);
							shop = crawlList.getErrorShop(url);
						}catch (java.net.SocketTimeoutException e) {
							System.out.println("socketTimeOutException sleep for 30");
							TimeUnit.SECONDS.sleep(30);
							isOk = false;
						}catch(Exception e){
							shop = null;
							
						}
					}while(!isOk);
					in.insertShop(shop);
					System.out.println("ok");
					TimeUnit.SECONDS.sleep(4);
				}
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		in.close();
	}