-
-
Save fogoplayer/9b589fa5a38479d320cb5d957c009fc0 to your computer and use it in GitHub Desktop.
The CURL formatting of a request to YouTube's captions API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl 'https://www.youtube.com/api/timedtext?v=CWWSovO3Txc&ei=guQhZpu5A-joir4Pv7CA-Ag&caps=asr&opi=112496729&xoaf=4&hl=en&ip=0.0.0.0&ipbits=0&expire=1713522418&sparams=ip%2Cipbits%2Cexpire%2Cv%2Cei%2Ccaps%2Copi%2Cxoaf&signature=2BD5DB2D79EEDB548FD23E692D705C8E4E718EC8.5F6EC5DEA41D55CFEA50CB2C67D3C30CE5CA6516&key=yt8&kind=asr&lang=en&fmt=json3&xorb=2&xobt=3&xovt=3&cbrand=google&cbr=Chrome&cbrver=124.0.0.0&c=WEB&cver=2.20240416.05.00&cplayer=UNIPLAYER&cmodel=chromebook&cos=CrOS&cosver=14541.0.0&cplatform=DESKTOP' \ | |
-H 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \ | |
-H 'X-YouTube-Device: cbr=Chrome&cbrand=google&cbrver=124.0.0.0&ceng=WebKit&cengver=537.36&cmodel=chromebook&cos=CrOS&cosver=14541.0.0&cplatform=DESKTOP' \ | |
-H 'X-YouTube-Page-Label: youtube.desktop.web_20240416_05_RC00' \ | |
-H 'sec-ch-ua-arch: "x86"' \ | |
-H 'X-YouTube-Page-CL: 625331421' \ | |
-H 'sec-ch-ua-platform-version: "15786.48.0"' \ | |
-H 'X-YouTube-Utc-Offset: -360' \ | |
-H 'X-Goog-AuthUser: 0' \ | |
-H 'sec-ch-ua-full-version-list: "Chromium";v="124.0.6367.60", "Google Chrome";v="124.0.6367.60", "Not-A.Brand";v="99.0.0.0"' \ | |
-H 'sec-ch-ua-bitness: "64"' \ | |
-H 'sec-ch-ua-model: ""' \ | |
-H 'X-YouTube-Time-Zone: America/Denver' \ | |
-H 'sec-ch-ua-wow64: ?0' \ | |
-H 'sec-ch-ua-platform: "Chrome OS"' \ | |
-H 'sec-ch-ua-mobile: ?0' \ | |
-H 'User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \ | |
-H 'X-Youtube-Chrome-Connected: source=Chrome,mode=0,enable_account_consistency=true,supervised=false,consistency_enabled_by_default=true' \ | |
-H 'sec-ch-ua-full-version: "124.0.6367.60"' \ | |
-H 'Referer: https://www.youtube.com/watch?v=CWWSovO3Txc' \ | |
-H 'X-YouTube-Client-Name: 1' \ | |
-H 'X-YouTube-Client-Version: 2.20240416.05.00' \ | |
-H 'X-Youtube-Identity-Token: QUFFLUhqblV1dTExb05Gd3ZYcWhKUkZBZDl6bEpiVWZhUXw=' \ | |
-H 'X-Goog-Visitor-Id: CgswQ1paYVU4Z1l6ZyjtyIexBjIKCgJVUxIEGgAgLQ%3D%3D' \ | |
-H 'X-YouTube-Ad-Signals: dt=1713497216083&flash=0&frm&u_tz=-360&u_his=3&u_h=1080&u_w=1920&u_ah=1080&u_aw=1920&u_cd=24&bc=31&bih=959&biw=1920&brdim=-1010%2C1080%2C-1010%2C1080%2C1920%2C1080%2C1920%2C1080%2C1920%2C959&vis=1&wgl=true&ca_type=image&bid=ANyPxKpLoDUXqm3n5v5-6_5PDPUha21qv66KrOmbMX5Lon1mUsyu3eKrqqHw1zchk-Wr6qvVfyYzklxm38MSLZQ9Fjaaz6El3w' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment