The Request URL: https://vipvideo.szzhangchu.com/6e485434b2af4e9dbf5d4ee35bbf9277/4f52d3bedfb007fd5e71b87ac966dcec-ld-encrypt-stream.m3u8? A42b16458de4af891dc191369a8b131 auth_key=1569570119-1-0-1956 b0805898d8d9da31ccc74d8433d3
The Request Method: GET
The Status Code: 200
Remote Address: 117.25.159.248:443
The Referrer Policy: no - Referrer - the when - downgrade
How to download this video in python?
CodePudding user response:
Video sitehttp://www.izhangchu.com/dish/475.html
CodePudding user response:
PIP install you - getThen
The import sys
The import you_get
Def the download (url, path) :
Sys. Argv=[' you - get ', '-o', path, url]
You_get. The main ()
If __name__=="__main__ ':
# video website address
Url="https://www.bilibili.com/bangumi/play/ep118488? The from=search& Seid=5050973611974373611 '
# the location of the video output
Path='G/test:'
The download (url, path)
Mp4 xpath is/HTML/body/div [4]/div [1]/script [3]/text ()
You may need to use re. The split of segmentation for what wouldn't ask me
CodePudding user response:
Give you the url, it is easy to learn back to downloadB stand
https://www.bilibili.com/video/av90535885