ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.28k stars 9.94k forks source link

kuaishou #22604

Open marabu88 opened 4 years ago

marabu88 commented 4 years ago

Checklist

Example URLs

Description

I posted 2 links for an example. The first link is the result of copying from a mobile application (client for iOs), the second is a redirect of this link in the browser for the computer.

A playlist is all the videos from this account, where the first video is a live stream (it is active at the time I send it)   Here is the link to the video stream that I received using debugging in the browser. This link is not directly on the page and it is calculated either by a flash player or a script. Perhaps the mobile version contains a direct link.   https://ali-origin.pull.yximgs.com/gifshow/dWvg_fxrD9w.flv?auth_key=1570278505-0-0-04ee9c11e97bba67e2d4ca1c5ad925e2&oidc=alihb   This link is downloaded by the youtube-dl without any problems (no additional authorization and cookies are required). Of course, it will not work after the end of the stream, and perhaps the key is individual for different IPs.  

 

marabu88 commented 4 years ago

small addition. in fact, the link to the video is contained in the page code (possibly after processing by the script), and the playlist (in my Opera browser without authorization) does not display all the videos.  

....."photo":"쳏ꫝ뺻","liked":"ꫝ","open":"ꫝ","playback":"0","private":"ꫝ","__typename":"CountsInfo"},"$User:xiang428125934.bannedStatus":{"banned":false,"defriend":false,"isolate":false,"socialBanned":false,"__typename":"BannedStatus"},"$ROOT_QUERY.liveDetail({\"principalId\":\"xiang428125934\"})":{"liveStream":{"type":"json","json":{"liveStreamId":"KyHjzkuVe5w","caption":"太香了,深夜……❤️❤️","playUrls":[{"quality":"standard","url":"https:\u002F\u002Ftx-origin.pull.yximgs.com\u002Fgifshow\u002FKyHjzkuVe5w.flv?txSecret=0c65d87c8fd511dadf71a5254eb1186e&txTime=5d98a94f&stat=UIvMmbb2wQbyxTsqKjlz0qfPhTeM%2FTtHoxhuM8RsVJwzyBcZ8uGkBBMOFTqe3NGu&highTraffic=1&oidc=txhd&fb=1"}],"coverUrl":"https:\u002F\u002Fjs2.a.yximgs.com\u002Fuhead\u002FAB\u002F2019\u002F10\u002F04\u002F22\u002FBMjAxOTEwMDQyMjA1MDdfNDI4MTI1OTM0XzUxODc3NDc1MzFfbHY=.jpg","rtCoverUrl":"https:\u002F\u002Flive4.static.yximgs.com\u002Flive\u002Fgame\u002Fscreenshot\u002FKyHjzkuVe5w~1570199481083~1","gameInfo":{"name":"其他","category":"QT","type":"0"},"startTime":1570197905651}},"feedInfo":{"type":"id","generated":true,"id":"$ROOT_QUERY.liveDetail({\"principalId\":\"xiang428125934\"}).feedInfo","typename":"FeedInfo"}.......

astandarduser commented 4 years ago

Would be great to have support for this site, this online downloader can get the videos without a watermark so it would be great to figure out how this site gets those un-watermarked links https://www.videofk.com/kwai-video-download/

astandarduser commented 4 years ago

Here is an example of a watermarked and not watermarked URL

Not watermarked: http://txmov3.a.yximgs.com/upic/2019/07/01/18/BMjAxOTA3MDExODUwMzlfNTQ3MTMxNzkyXzE0NjcxNzAxOTg4XzFfMw==_b_Baf827802744fbda80f7222296e7f6902.mp4

Watermarked: https://jsmov2.a.yximgs.com/bs2/newWatermark/MTQ2NzE3MDE5ODg_zh_4.mp4

original URL https://live.kuaishou.com/u/3xc8kxujwdzv4tm/3xevjgzik2a6nrs

tonyquang commented 4 years ago

@astandarduser do you know how to get kuaishou url video without watermark?

ptt1990angiang commented 3 years ago

Any one can get kuaishou url video without watermark?

thanhtuht commented 3 years ago

anyone is succeesfull?