public void downloadVideo(String ytLink){
		final String[] args = new String[]{"youtube-dl.exe","-c", ytLink};
		final String vidString = ytLink.substring(ytLink.indexOf("watch?v=")+8);
		
		try {
			youtubeProc = Runtime.getRuntime().exec(args);
			downloadThread = new Thread(){
				public void run(){
					BufferedReader input = new BufferedReader(new InputStreamReader(youtubeProc.getInputStream()));
					String line="";
					try {
						while ((line=input.readLine())!=null){
							log(line);
							if ((line.contains ("[youtube:channel]")) || (line.contains("Downloading video #"))){
								log("Couldn't find a good video. Manually put in youtube link.");
								log("Args: "+args.toString());
								log("vidString: "+vidString);
								break;
							}
						}
					} catch (IOException e) {
						e.printStackTrace();
					}
					if (!isCancelled){
						log("Converting");
						setOpenVideoButtonEnabled(true);
						convertVideoToMp3(vidString);
					}
				}
			};
			downloadThread.start();
		}
		catch (IOException e1) {
			e1.printStackTrace();
			SongDownloader.messageBox("You need youtube-dl.exe in the same folder as the program to run this.");
		}
	}