PDA

View Full Version : YouTube TV


rla999
04-06-2017, 01:27 PM
So this new service from YouTube (in the United States only) launched called YouTube TV available at tv.youtube.com

I am on the 30-day trial and I am testing it out.
Of course I am trying to download from it like you would download regular videos.

These videos must be protected like YouTube Red videos are. YouTube Red videos are included in this service BTW. I can download YouTube Red videos by giving youtube-dl my YouTube username and password. They play fine and are in super HD with 5.1 audio!

I don't know about the specifics for DVR'ed content from YouTube TV but it gives me an error like this:

C:\Users\JOHN DOE\Downloads\youtube-dl>youtube-dl "https://tv.youtube.com/search?q=The%20Voice&v=QIFW9OlvEfg&vpp=2AEA&vp=0gEEEgIIAw%3D%3D" --verbose -u "*****@gmail.com" --password "******"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://tv.youtube.com/search?q=The%20Voice&v=QIFW9OlvEfg&vpp=2AEA&vp=0gEEEgIIAw%3D%3D', '--verbose', '-u', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.04.03
[debug] Python version 3.4.4 - Windows-10-10.0.14986
[debug] exe versions: ffmpeg N-83507-g8fa18e0, ffprobe N-83507-g8fa18e0, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:user] Downloading login page
[youtube:user] Logging in
[youtube:user] search: Downloading channel page
WARNING: Unable to download webpage: HTTP Error 404: Not Found
[youtube:user] search: Downloading page #1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpam8ojdsi\build\youtube_dl\extractor\comm on.py", line 498, in _request_webpage
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpam8ojdsi\build\youtube_dl\YoutubeDL.py", line 2100, in urlopen
File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

Original URL is this: https://tv.youtube.com/search?q=The%20Voice&v=QIFW9OlvEfg&vpp=2AEA&vp=0gEEEgIIAw%3D%3D

When I right click on video player and click Copy Debug Info, I get this long thing. Maybe there is a way to get encryption keys or something in there.

{
"ns": "yt",
"el": "detailpage",
"cpn": "JfXeZe7jrTLiCNqB",
"docid": "QIFW9OlvEfg",
"ver": 2,
"referrer": "https://tv.youtube.com/search?q=The%20Voice&v=QIFW9OlvEfg&vpp=2AEA&vp=0gEEEgIIAw%3D%3D",
"cmt": "2.977",
"plid": "AAVMhGKiAHs-njlJ",
"ei": "tZTmWOvYI8Sg8wTS3o_AAw",
"fmt": "146",
"fs": "0",
"rt": "352.334",
"of": "AJOl3SNUSLRvlGj11zsb5Q",
"euri": "",
"lact": 11,
"cl": "152334079",
"mos": 0,
"osid": "MWQ5ZjczYzM:AOeUNAaD0cyfG3EEtFnHu0lYC_JkOxsDWQ",
"state": "4",
"vm": "CAEQABgE",
"volume": 100,
"c": "WEB_UNPLUGGED",
"cver": "0.1",
"cplayer": "UNIPLAYER",
"cbr": "Chrome",
"cbrver": "56.0.2924.87",
"cos": "Windows",
"cosver": "10.0",
"hl": "en_US",
"cr": "US",
"len": "2600.078",
"fexp": "3300118,3300131,3300161,3313275,3313321,9406000,94 22596,9428398,9431012,9433221,9434046,9434289,9440 551,9441155,9445570,9446054,9446364,9449243,945070 7,9453078,9453897,9456640,9457141,9458230,9458576, 9460160,9461618,9462300,9462311,9462737,9463496,94 63528,9463594,9463691,9463965,9464341,9465315,9465 438,9465533,9465745,9465918,9466352,9466720,946677 7,9466777,9466793,9466795,9468072,9468483,9468989, 9469224,9469631,9470089,9470106,9470135",
"afmt": "149",
"cc": ".en.uYU-mmqFLq8",
"uoo": "1_1",
"upt": "CgM1MDESBTA2ODUxGgJVUw",
"vct": "2.977",
"vd": "2600.078",
"vpl": "0.000-2.777,",
"vbu": "0.000-16.016,",
"vpa": true,
"vsk": false,
"ven": false,
"vpr": 1,
"vrs": 4,
"vns": 2,
"vec": null,
"vvol": 0.3089939593596965,
"lct": "2.977",
"lsk": false,
"lmf": true,
"lbw": "1046566.207",
"lhd": "0.099",
"lst": "243.862",
"laa": "itag=149,seg=1,range=201327-332139,time=12.1-20.0",
"lva": "itag=146,seg=2,range=6318562-7717456,time=13.5-16.0",
"lar": "itag=149,seg=1,range=201327-332139,time=12.1-20.0",
"lvr": "itag=146,seg=3,range=7717457-9814608,time=16.0-19.8",
"lvh": "r8---sn-j5caxoxu-i2os",
"lab": "0.000-20.016,",
"lvb": "0.000-16.016,",
"drm": {
"systemInfo": {
"flavor": "widevine",
"keySystem": "com.widevine.alpha"
},
"sessions": [
{
"requestedKeyIds": [
"0d1y-8iMU-SJA-0lMWDe9Q"
],
"cryptoPeriodIndex": null,
"receivedKeys": [
{
"keyId": "CstEt6CsVwe_a0hJOSMvwA",
"type": "HD",
"status": "usable"
},
{
"keyId": "W784mi5vU_mq_q2xbozsrA",
"type": "AUDIO",
"status": "usable"
},
{
"keyId": "0d1y-8iMU-SJA-0lMWDe9Q",
"type": "SD",
"status": "usable"
}
]
},
{
"requestedKeyIds": [
"W784mi5vU_mq_q2xbozsrA"
],
"cryptoPeriodIndex": null,
"receivedKeys": [
{
"keyId": "CstEt6CsVwe_a0hJOSMvwA",
"type": "HD",
"status": "usable"
},
{
"keyId": "W784mi5vU_mq_q2xbozsrA",
"type": "AUDIO",
"status": "usable"
},
{
"keyId": "0d1y-8iMU-SJA-0lMWDe9Q",
"type": "SD",
"status": "usable"
}
]
},
{
"requestedKeyIds": [
"CstEt6CsVwe_a0hJOSMvwA"
],
"cryptoPeriodIndex": null,
"receivedKeys": [
{
"keyId": "CstEt6CsVwe_a0hJOSMvwA",
"type": "HD",
"status": "usable"
},
{
"keyId": "W784mi5vU_mq_q2xbozsrA",
"type": "AUDIO",
"status": "usable"
},
{
"keyId": "0d1y-8iMU-SJA-0lMWDe9Q",
"type": "SD",
"status": "usable"
}
]
}
]
},
"relative_loudness": "10.201",
"optimal format": "1080p",
"debug_videoId": "QIFW9OlvEfg",
"0sz": false,
"op": "",
"yof": false,
"dis": "",
"cgr": true,
"debug_playbackQuality": "hd1080",
"debug_date": "Thu Apr 06 2017 15:25:10 GMT-0400 (Eastern Daylight Time)"
}

If any of you are in the US major cities such as NYC, Chicago, LA, or Philadelphia, I encourage you to sign up for it yourself.

Otherwise PM for credentials. And please make sure in your settings that you are enabled to receive PMs from all users.

joejones15
04-10-2017, 04:55 PM
So you are unable to use youtube-dl as you do with YouTube Red?

BilldozerVT
09-13-2017, 07:39 AM
I wanted to bump this thread as I recently signed up for Youtube TV and was hoping someone has found a way to record the streams. Thanks!

marko988
09-20-2017, 09:44 AM
There's a way to download closed captions, both from live tv that from on-demand contents?