private  static Elements getUrlsOnPage(String url, ArrayList<String> keyWordsInURL, int howTimes){
		Elements links =null;
		try {
			Document doc;
			doc = Jsoup.connect(url).userAgent("Mozilla").get();
			if(doc!=null){
				Element elt = doc.body();
				if(elt!=null){	
					links = new Elements();
					for(int i=0; i<keyWordsInURL.size();i++){
						Elements elements = elt.select("a[abs:href*="+keyWordsInURL.get(2)+"]");
						links = new Elements();
						for(int j=0; j<elements.size(); i++){
							links.add(elements.get(j));
						}
					}
					///links =elt.select("a[href]");
				}
			}
		} catch (SocketTimeoutException a) {
			//try three times the same URL if timeoutexecption
			if (howTimes+1==3){
				OutputParams.appendToFailedUrlsFile(url);
				Logger.getLogger(InitParser.class).debug("Can't process this URL :" + url +" Content, cause time out exception");	
			} else {
				getUrlsOnPage(url, keyWordsInURL, howTimes+1);
			}
		} catch (IOException e) {
			Logger.getLogger(Crawler.class).debug("Exception :"+e.getMessage() + " Description :"+ e.toString());
		}
		return links;
	}