string host = "http://youtube.com/v/";
string end = ".flv";
WebClient Client = new WebClient();
StreamReader sr = new StreamReader(@"ids.txt");
string line;
do
{
line = sr.ReadLine();
Client.DownloadFile(host+line+end,line+end);
}
while (line !=null);
sr.Close();
工作正常,但比我晚應運行FLV /視頻這給了我這個錯誤>影片下載
An error occurred when the file plays in Windows Media Player
爲什麼,我在做什麼錯?
那麼ids.txt文件中究竟有什麼內容? – joedotnot 2010-03-12 00:57:07
GOM Player是另一個不錯的嘗試!我個人喜歡左箭頭和右箭頭功能一次快進或快退5秒! – 2014-04-21 01:47:47