Python尝试获取lynda字幕内容
from urllib import request
url ="https://www.lynda.com/ajax/player/transcript?courseId=534425&videoId=583139" #字幕地址
headers = {
"Cookie":"tcookie=bc963a46-cddd-4f23-845b-a2ebbe3070c8;token=652dd73e-5ad8-4281-9bf7-83822db365a9,06ab64bcbde98de7dbd52983dc2325d4,1GmfWzy0begRSXdiB3hxZSPhtyncpE8p/F0BKMuoRAfJAeMfD5qhgonpizHSGRlkBZOsv7h5aGO4YZ806bUzxilhfA9v5ljumG+ZVWlVsAySZayUI95xN6Ak4jVroDYPua7GCqv5ra9ejSD+wcmzvQ==;"
}
page = request.Request(url,headers=headers)
page = request.urlopen(page)
html = page.read()
print(html)