package hu.procyon.atomizer;

import java.io.IOException;
import java.net.URL;
import java.util.List;
import java.util.Map;

public class MusicUrlFilter implements UrlFilter {

	@Override
	public boolean probeUrl(URL url, WebScraper scraper) {
		Map<String, List<String>> headers = null;
		try {
			headers = scraper.doHeadRequest(url);
			if (headers == null) {
				return false;
			}
			List<String> contentType = headers.get("Content-type");
			contentType.contains("");
		} catch (IOException e) {
			e.printStackTrace(System.err);
		}
		
		return false;
	}

}
