Film(String URL, StringBuilder sourceCode) {
		int tableStart = 0;
		int tableEnd = sourceCode.indexOf("id=\"Cast\"");
		int ulStart = 0;
		int ulEnd = sourceCode.indexOf("id=\"Cast\"");
		
		boolean flag = true;
		
		while (flag) {
		    ulStart = sourceCode.indexOf("<ul>", ulEnd + 10);
		   	if (ulStart != -1) {
		 		ulEnd = sourceCode.indexOf("</ul>", ulStart + 10);
		   		
	    		String pattern = "<li[^<]*>([0-9]*|<b>)<a href=.*</a>";
	    		
	    		flag = getActors(ulStart, ulEnd, sourceCode, pattern);
	    	}
		   	else {
		   		tableStart = sourceCode.indexOf("<table", tableEnd + 10);
		   		if (tableStart != -1) {
		   			ulEnd = sourceCode.indexOf("</ul>", ulStart + 10);
			   		
		    		String pattern = "(<td|<th)><a href=.*</a>";
		    		
		    		flag = getActors(tableStart, tableEnd, sourceCode, pattern);
		   		}
		   		else
		    		break;
		   	}
		}
		
		System.out.println();
		usedFilms.push(URL);
	}