gpt4 book ai didi

youtube - 如何与youtube-dl生成链接以从YouTube下载带有标题的视频?

转载 作者:行者123 更新时间:2023-12-03 06:15:08 24 4
gpt4 key购买 nike

使用youtube-dl,我可以获取视频的网址,这将打开浏览器视频播放器。我需要下载标题。
来自互联网的此链接有效:

http://r3---sn-8p8v-bg0ed.googlevideo.com/videoplayback?id=o-AMwj6zvohEaPL1fiBRIGkayxokFNVhQ4A1VF6u2HWlc5&ipbits=0&mm=31&mn=sn-8p8v-bg0ed&dur=0.000&expire=1498841617&lmt=1460236973006213&ip=152.250.251.21&usequic=no&ms=au&mt=1498819907&mv=m&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Csource%2Cusequic%2Cexpire&pl=24&ei=sS1WWePVKc6_wQT6mZSADQ&itag=43&ratebypass=yes&initcwndbps=1577500&beids=%5B9466591%5D&mime=video%2Fwebm&key=yt6&source=youtube&signature=51394917CC585F4286B1CD59AE11420FA6FA7065.73A2EC80BBF8087CCD4D3222E09AD5882B14CC78&title=SpaceX+lands+rocket+at+sea%2C+makes+history

youtube-dl生成的链接会打开播放器:
https://r3---sn-a0gxoxu-ig3e.googlevideo.com/videoplayback?clen=1561370&key=yt6&requiressl=yes&gir=yes&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&expire=1498847588&lmt=1460152800626042&ei=BEVWWcOIGMOEd9S3p8AC&id=o-ALcFrC_nifKmVOUT4iWaoMn68Uec2eQweC8_glHx3Zws&initcwndbps=2220000&pl=24&dur=178.282&mime=video%2F3gpp&signature=97509B18D589AEC4A600EC18433750F74C598A46.B33CC6F4B98CB9500A634AFA6B8F79C84DBED85B&ms=au&source=youtube&mv=m&mt=1498825879&ipbits=0&mm=31&mn=sn-a0gxoxu-ig3e&itag=17&ip=176.109.219.108&ratebypass=yes

我正在尝试查找参数内部的差异,并且看到“usequic = no,title =“,但将其添加到我的网址中并没有帮助

最佳答案

第二个链接对我有用,它下载了一个名为“videoplayback.3gpp”的文件。首先下载一个.webm文件,其名称为我想的原始名称。我使用Chrome。

关于youtube - 如何与youtube-dl生成链接以从YouTube下载带有标题的视频?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44846670/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com