Re: [請問] 台視網站上的新聞要怎麼下載呢?
※ 引述《cia696969 (生氣 要上)》之銘言:
: ※ 引述《lesk (哈哈,飛啊飛。 )》之銘言:
: : http://www.ttv.com.tw/news/html/096/02/0960211/09602114674402L.htm
: : 在標題「真是好狗命!寵物吃養生年菜」的旁邊有個圖示,
: : 點進去可以看新聞內容的影片,
: : 不過必須得登入才能收看,
: : 想請問板上的高手這該怎麼下載?
: : 我有登入了,也看到影片,
: : 原始檔看了半天看不懂,
: : 很冏…
: : 有大大可以幫助我嗎?
: 嗨你好 路過看到你的問題,剛剛順手嘗試了一下 可以下載
: 但有個問題是台視新聞的網路影片是用語法隨選播放
: 你想要的這則「真是好狗命!寵物吃養生年菜」並沒有單獨的影片檔可供下載
: 他們用的語法是 當天的新聞影片全長29分鐘 當你點選這則時
: 只播放其中12分50秒開始的1分23秒寵物影片,因此假如你要抓 得一次抓下30分鐘的新聞
: 語法長這樣子(經我轉碼過)
: http://ap.ch5.tv/play?url_id=184625&s=0_12_50&d=0_1_23&t=真是好狗命!寵物吃養生
: 年菜&noclip=1&nobanner=1
: 格式為WMV 然後在自己用軟體切割
: 檔案挺大的 110MB 下載網址如下兩行 請接在一起 用net-transport就可以輕易下載了
: mms://wms.media.hinet.net/ttvuser/ttv_news/dailynews/200702111857-500K-liao.wmv
: ?ch5513EEE6A-F7F0-4D00-921C-D527BD331DB5
: 如有疑問 還請google一下吧,說太多搞不好會侵權>"<
不好意思
小弟有個問題想請教各位大大
因為撰寫研究報告
有需要下載台視網站上的「台視晚間新聞」
而且是七月整個月都要
經過爬文後
我找到了這篇文章
但我不了解C大是怎麼破解語法的
而且文章有點久遠
C大的帳號已經不存在了
所以 我無法寄站內信請教
由於自己每天都要下載
希望可以學會如何破解
下面附上原始檔
麻煩各位大大 不吝賜教
也可寄站內信回覆小弟
感激不盡~~
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"" rel="nofollow">http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<title>台視影音城</title>
<link href="/videocity/09/next.css" rel="stylesheet" type="text/css">
<link href="/videocity/09/body.css" rel="stylesheet" type="text/css">
<link href="/videocity/09/07news.css" rel="stylesheet" type="text/css">
<script src="" rel="nofollow">http://ads.ttv.com.tw/AD/PageHits.asp?PgID=178"></script>
<script SRC="/videocity/js/score.js"></script>
<SCRIPT type=text/javascript>
<!--
function sbar(st){st.style.backgroundColor='#F6F6F6';}
function cbar(st){st.style.backgroundColor='';}
//-->
</SCRIPT>
<script language="JavaScript">
function HinetVideo(id,mcheck,txt) {
document.Video.url_id.value = id;
document.Video.mcheck.value = mcheck;
document.Video.Text.value = txt;
document.Video.submit();
}
</script>
</head>
<body>
<div class="aaa" id="aaa">
<script language="JavaScript">
<!--
function SetCookie( name, value, expires, path, domain, secure )
{
// set time, it's in milliseconds
var today = new Date();
today.setTime(today.getTime());
/*if the expires variable is set, make the correct expires time, the current script below will set it for x number of days, to make it for hours, delete * 24, for minutes, delete * 60 * 24*/
if ( expires )
{
expires = expires * 1000 * 60 * 60 * 24;
}
var expires_date = new Date( today.getTime() + (expires) );
document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +
( ( path ) ? ";path=" + path : "" ) +
( ( domain ) ? ";domain=" + domain : "" ) +
( ( secure ) ? ";secure" : "" );
}
// this function gets the cookie, if it exists
function GetCookie( name ) {
var start = document.cookie.indexOf( name + "=" );
var len = start + name.length + 1;
if ( ( !start ) &&
( name != document.cookie.substring( 0, name.length ) ) )
{
return null;
}
if ( start == -1 ) return null;
var end = document.cookie.indexOf( ";", len );
if ( end == -1 ) end = document.cookie.length;
return unescape( document.cookie.substring( len, end ) );
}
// this deletes the cookie when called
function DeleteCookie( name, path, domain ) {
if (GetCookie(name))
document.cookie = name + "=" + ( ( path ) ? ";path=" + path : "") + ( ( domain ) ? ";domain=" + domain : "" ) + ";expires=Thu, 01-Jan-1970 00:00:01 GMT";
}
function CodeCookie(str)
{
var strRtn="";
for (var i=str.length-1;i>=0;i--)
{
strRtn+=str.charCodeAt(i);
if (i) strRtn+="]"; //用]作分隔符
}
return strRtn;
}
function DecodeCookie(str)
{
var strArr;
var strRtn="";
strArr=str.split("]");
for (var i=strArr.length-1;i>=0;i--)
strRtn+=String.fromCharCode(eval(strArr[i]));
return strRtn;
}
function get_cookie(values,Subkeys) {
var search = values + "="
var searchx = Subkeys + "="
var returnvalue = "";
var returnvaluex = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
// if cookie exists
if (offset != -1) {
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
offsetx = returnvalue.indexOf(searchx)
// if cookie exists
if (offsetx != -1) {
offsetx += searchx.length
// set index of beginning of value
endx = returnvalue.indexOf("&", offsetx);
// set index of end of cookie value
if (endx == -1) endx = returnvalue.length;
returnvaluex=unescape(returnvalue.substring(offsetx, endx))
}
}
// alert(returnvaluex);
return returnvaluex;
}
}
function mbr_init() {
var cookie_email,mbrStr;
var loc= window.location;
SetCookie("ttvredirect",loc, "0", "/", "ttv.com.tw", "" );
cookie_email = get_cookie("Session","Email");
if(cookie_email.length==0){
mbrStr='<a href="http://www.ttv.com.tw/member/05/secret.asp" target=_parent>加入台視會員</a>/<a href="http://www.ttv.com.tw/member/05/Login.asp" target=_parent>會員登入</a>';
document.write (mbrStr);
} else {
nickn = DecodeCookie(get_cookie("Session","NickName"));
if(nickn.length!=0)
mbrStr='Hi! ' + nickn + '/';
mbrStr=mbrStr +'<a href="http://www.ttv.com.tw/member/05/logout.asp" target=_parent>會員登出</a>';
document.write (mbrStr);
}
}
//-->
</script>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="100" background="/videocity/09/images/top.gif"><table width="1000" height="100" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="320"><img src="/videocity/09/images/logo.gif" width="340" height="100" border="0" usemap="#Map"></td>
<td valign="bottom" class="style"><table height="40" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="style3">| <a href="/videocity/m2.asp">2分鐘影音</a> | <a href="/videocity/QA.asp">影音Q&A</a> | <a href="" rel="nofollow">http://www.ttv.com.tw/">台視</a></td>
</tr>
</table></td>
<td valign="bottom"><table height="40" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="style3"><span class="style"><script language="JavaScript">mbr_init();</script></span> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<form method="post" action="/VideoCity/search.asp" id="form_key" name="form_key"><tr>
<td height="40" background="/videocity/09/images/search_bar.gif"><table height="40" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="710" class="style2"><div align="center"><marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" width="420" scrolldelay="150"><script language="JavaScript" TYPE="text/javascript" src="
" rel="nofollow">http://www.ttv.com.tw/news/js/marquee.js"></script></marquee></div></td>
<td><img src="/videocity/09/images/search_w.gif" width="89" height="30" border="0"></td>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="key" type="text" class="style" value="輸入關鍵字" size="15" maxlength="15" onclick="javascript:this.value=''"></td>
<td><input type="image" src="/videocity/09/images/search_icon.gif" width="63" height="30"></td>
</tr>
</table></td>
<td width="25"> </td>
</tr></form>
</table></td>
</tr>
</table>
<div id="main">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><table width="960" height="678" border="1" cellpadding="0" cellspacing="0" bordercolorlight="#cccccc" bordercolordark="#ffffff">
<tr>
<td background="images/videoplaybg.jpg">
<table width="960" height="640" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign=middle><table width="930" align="center" cellpadding="0" cellspacing="0" border=0><p>
<tr>
<td width="534" height="472" background="images/playbg1.gif"><table width="512" height="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<OBJECT ID="MediaPlayer" CLASSID="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" standby="Loading Microsoft Windows Media Player components..." TYPE="application/asx" width="480" height="430" id="TWTV" name="TWTV" VIEWASTEXT>
<PARAM NAME="url" VALUE="/Videocity/TTVAsx.asp?urlid=297427 " />
<PARAM NAME="AutoStart" VALUE="true" />
<PARAM NAME="ShowControls" VALUE="1" />
<PARAM NAME="uiMode" VALUE="full" />
<PARAM NAME="ShowStatusBar" VALUE="1" />
<PARAM NAME="Volume" value="60" />
<PARAM NAME="EnableContextMenu" VALUE="0" />
</OBJECT>
</td>
</tr>
</table></td>
<td> </td>
<td width="380" height="472" background="images/playbg2.gif" valign=top>
<table width="336" height="280" border="0" align="center" cellpadding="3" cellspacing="0">
<tr>
<td align=center colspan="2"><p>
<div align=left>
<span class="style4"><img src="images/glasspit.gif" width="12" height="9">影音類別:新聞<br>
<img src="images/glasspit.gif" width="12" height="9">影音名稱:台視晚間新聞<br>
<img src="images/glasspit.gif" width="12" height="9">影音日期:2009年07月02日<br>
</span></div>
</tr>
<tr><td align=center><img border="1" src="http://www.ttv.com.tw/homev3/videocity/images/ttvnews_night.gif" width="72" height="72"></td>
<td valign="top" align=left><!--<font size=2>台視晚間新聞</font><br><br>-->
<select size="1" onchange="location.href=this.options[this.selectedIndex].value;">
<option selected>選擇播出日期</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=297427 ">2009年07月02日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=297231 ">2009年07月01日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=297092 ">2009年06月30日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=296817 ">2009年06月29日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=296680 ">2009年06月28日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=296590 ">2009年06月27日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=296476 ">2009年06月26日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=296162 ">2009年06月25日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295928 ">2009年06月24日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295693 ">2009年06月23日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295508 ">2009年06月22日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295404 ">2009年06月21日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295319 ">2009年06月20日</option>
<option value="video_news.asp?PGMID=台視晚間新聞&ID=295213 ">2009年06月19日</option>
</select>
</td>
</tr>
<tr><td colspan="2">
<script type="text/javascript"><!--
google_ad_client = "pub-5342396684826977";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
//2007-08-22: 台視影音 336x280
google_ad_channel = "8224516633";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "215670";
google_color_text = "000000";
google_color_url = "999999";
google_ui_features = "rc:10";
//-->
</script>
<script type="text/javascript" src="" rel="nofollow">http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="110"> </td>
</tr>
<tr><td colspan="7" align=right height=18 valign=bottom><a href="javascript:history.go(-1)"><br><img src="images/back.gif" width="16" height="16" border="0" align="absmiddle"></a><span class="style1"><a href="javascript:history.go(-1)">回上一頁</a> </td>
</tr></table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div id="under"> <br>
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center" class="style7"> 臺灣電視事業股份有限公司版權所有© 2009 Taiwan Television Enterprise, Ltd. All Rights Reserved.</div></td>
</tr>
</table>
</div>
</div>
<map name="Map">
<area shape="rect" coords="257,19,331,90" href="/videocity/">
<area shape="rect" coords="91,19,255,90" href="" rel="nofollow">http://www.ttv.com.tw">
</map>
</div>
</body>
</html>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.139.81.57
推
07/02 22:39, , 1F
07/02 22:39, 1F
→
07/02 22:44, , 2F
07/02 22:44, 2F
噓
07/03 06:12, , 3F
07/03 06:12, 3F
→
07/03 09:55, , 4F
07/03 09:55, 4F
推
07/04 12:20, , 5F
07/04 12:20, 5F
推
07/05 16:24, , 6F
07/05 16:24, 6F
推
07/05 16:26, , 7F
07/05 16:26, 7F
→
07/05 16:27, , 8F
07/05 16:27, 8F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):