python download video using you-get

project address

https://github.com/soimort/you-get

 

Installation and use are relatively simple, but due to network reasons, only a few sites can be tested and downloaded

The usage is roughly the same, the corresponding module is introduced, and the download method is called. There are several sites currently tested that cannot be downloaded. . .

 

Introduce the website where the video to be downloaded is located

from you_get.extractors import (
    xiami,
    netease,
    youku,
    kugou,
    imgur,
    bilibili,
    youtube,
    ted,
    tudou
)

 

Call the download method to download Netease's videos and open courses

netease.download('http://v.163.com/paike/VD5M64DQA/VEA6AFIOQ.html')
netease.download('http://open.163.com/movie/2017/2/8/K/MCBG6TO95_MCBO5F18K.html')

Download Youku Video

youtube.download(
    'https://www.youtube.com/watch?v=2FmcHiLCwTU'
)

 

It seems that the video of station B cannot be downloaded. It may be the influence of 360. It has strengthened the security. . .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325174897&siteId=291194637