但網絡上除了 Youtube 還有不少網站提供媒體播放,但這些網站卻不像 Youtube 有外掛程式來下載其媒體檔案
是不是沒有方法下載這是媒體檔案 ?
當然有方法,而且方法並非太過複雜
先下載及安裝 Google Chrome
由於 Google Chrome 是跨平台瀏覽器,即是表示這方法適合任何作業系統

先前往包含影像的網頁
然後在空白的位置 Right Click 點選檢查元素
或進入工具 > 開發人員工具
或按F12

顯示檢查元素的網頁偵測工具後,點選當中的 Network 頁面

若果頁面上已經再沒有資料流動,就不會偵測到資料

在開啟檢查元素 > Network 頁面的情況下,更新網頁的資料
若網頁沒有任何更新網頁的設定,亦可重新整理網頁,偵測整個網頁資料流動

不管利用互動方法整理,還是重新整理整個網頁
所有偵測到的資料都會顯示在清單中
利用 type 排序,尋找影像格式,以 Youtube 為例
video/x-flv 為 FLV 格式、video/mp4 為 MP4 格式
但並非所有網頁都使用這兩種格式
另外還可以利用 size 排序,因為正常情況下影像格式容量都比較大
確認清單上的檔案為需要下載的檔案後,可 Right Click 該檔案,然後選擊 Open Link in New Tab

若果 Google Chrome 不懂得分析下載的檔案,會直接詢問儲存
若下載的影像格式為 MP4 等,由於 Google Chrome 內建有媒體播放器,因此會直接播放影像
需要在影像上 Right Click ,選擊另存影片,下載影片

另外若果 Google Chrome 不懂得分析下載的檔案,另存檔案時不會給予副檔名
例如 video/x-flv 的 FLV 格式,下載時需自行加上 .flv 的副檔名

有時候, Google Chrome 對於某些檔案不會顯示下載視窗,但並不表示不能下載
點選 Copy Link Address

使用文字編輯器編製 HTML 檔案,建立 anchor 並將剛才複製的連結網址貼上至 href 中
需要略懂 HTML,例如:
<a href="paste the link address here">download</a>
之後將檔案儲存為 .html

利用 Google Chrome (或任何瀏覽器) 開啟剛才的網頁檔案
在超連結上 Right Click ,然後點選另存連結,便可以下載檔案了

或使用下載工具亦可以
但若果使用 wget 下載時注意需要加上 -O 來指定下載檔案的名稱
部分需要登入才能,觀看影像的網頁如 NicoVideo 便需要等待影像載入完成才能下載
但對於使用 Real Time Messaging Protocol (RTMP) 的影片暫時未有方法下載
dailymotion既片係咪dl唔到
回覆刪除假如影片封鎖了當然找不到位置,但不代表不能下載
回覆刪除我想下載伊莉的影片,點完"Open Link in New Tab" 之後出現一個Forbidden的頁面。
回覆刪除http://the-sun.on.cc/cnt/news/20141128/00407_020.html 用e個方法download唔到 仲有咩方法download?
回覆刪除i find the source link is "http://video.cdn.on.cc/video/201411/ONS-141127-13398-91M_ipad.mp4?1417127927" of your web page.
刪除try it carefully to find what you want.
if mac, can i do this??
回覆刪除the same.
刪除some website is load the media basically that you can use this method, but such like dailymotion is split the as a list of *.ts files that you cannot download directly, but you can find the *.ts files are the chain of sequential numerically files which is a large number of file chain like http://***/frag(1)/***.ts.
you can write a command to batch download that chain.
as i know.
however, such as youtube or other use new technique that you cannot use this method to down the youtube videos...
mytv 影片 down唔down到
回覆刪除