you-get icon indicating copy to clipboard operation
you-get copied to clipboard

QQ download fhd

Open 4ft35t opened this issue 2 years ago • 2 comments

腾讯视频导入 cookie 后,下载 1080P 版本。

多个不同子域的同 key 不同值的 cookie,会互相覆盖导致认证失败,改为只加载同域 cookie。

修改前


you-get -i https://v.qq.com/x/cover/mzc00200mhgrghr/p00398zxwzu.html -c cookies.txt
Site:       QQ.com
Title:      能源_16
Type:       MPEG-4 video (video/mp4)
Size:       8.71 MiB (9135762 Bytes)

修改后

you-get -i https://v.qq.com/x/cover/mzc00200mhgrghr/p00398zxwzu.html -c cookies.txt
Site:       QQ.com
Title:      能源_16
Type:       MPEG-4 video (video/mp4)
Size:       70.1 MiB (73504132 Bytes)

4ft35t avatar Aug 18 '22 10:08 4ft35t

Hello @4ft35t, Thanks for the Pull Request. We :heart: our contributors! Please wait for one of our human maintainers to review your patches. This may take a few days to weeks. Also, please understand that although your Pull Request may or may not be eventually merged, we value all contributions equally.

祝您健康!

soimort-bot avatar Aug 18 '22 10:08 soimort-bot

腾讯视频的清晰度定义

[
  {
    "id": 100001,
    "name": "sd",
    "lmt": 0,
    "sb": 1,
    "cname": "流畅;(270P)",
    "br": 89,
    "profile": 2,
    "drm": 0,
    "type": 1,
    "video": 1,
    "audio": 1,
    "fs": 12952780,
    "super": 0,
    "hdr10enh": 0,
    "sname": "流畅",
    "resolution": "270P",
    "recommend": 0,
    "vfps": 25,
    "bandwidth": 243044,
    "audiobandwidth": 30702,
    "formatdefn": "sd",
    "sl": 0,
    "m3u8resolution": ""
  },
  {
    "id": 2,
    "name": "hd",
    "lmt": 0,
    "sb": 1,
    "cname": "标清;(480P)",
    "br": 94,
    "profile": 1,
    "drm": 0,
    "type": 1,
    "video": 1,
    "audio": 1,
    "fs": 28062037,
    "super": 0,
    "hdr10enh": 0,
    "sname": "标清",
    "resolution": "480P",
    "recommend": 0,
    "vfps": 25,
    "bandwidth": 550003,
    "audiobandwidth": 46692,
    "formatdefn": "hd",
    "sl": 0,
    "m3u8resolution": ""
  },
  {
    "id": 10217,
    "name": "shd",
    "lmt": 0,
    "sb": 0,
    "cname": "准高清;(720P)",
    "br": 114,
    "profile": 1,
    "drm": 0,
    "type": 7,
    "video": 1,
    "audio": 1,
    "fs": 44061690,
    "super": 0,
    "hdr10enh": 0,
    "sname": "准高清",
    "resolution": "720P",
    "recommend": 0,
    "vfps": 25,
    "bandwidth": 875985,
    "audiobandwidth": 62686,
    "formatdefn": "shd",
    "sl": 1,
    "m3u8resolution": ""
  },
  {
    "id": 10218,
    "name": "fhd",
    "lmt": 3,
    "sb": 0,
    "cname": "高清SDR;(1080P)",
    "br": 119,
    "profile": 1,
    "drm": 0,
    "type": 7,
    "video": 1,
    "audio": 1,
    "fs": 73504132,
    "super": 0,
    "hdr10enh": 0,
    "sname": "高清SDR",
    "resolution": "1080P",
    "recommend": 0,
    "vfps": 25,
    "bandwidth": 1473773,
    "audiobandwidth": 93399,
    "formatdefn": "fhd",
    "sl": 0,
    "m3u8resolution": ""
  },
  {
    "id": 322016,
    "name": "uhd",
    "lmt": 1,
    "sb": 1,
    "cname": "超高清SDR;(4K)",
    "br": 107,
    "profile": 4,
    "drm": 0,
    "type": 11,
    "video": 8,
    "audio": 1,
    "fs": 950301844,
    "super": 0,
    "hdr10enh": 0,
    "sname": "超高清SDR",
    "resolution": "4K",
    "recommend": 0,
    "vfps": 30,
    "bandwidth": 5704572,
    "audiobandwidth": 125345,
    "formatdefn": "uhd",
    "sl": 0,
    "m3u8resolution": ""
  }
]

4ft35t avatar Aug 18 '22 10:08 4ft35t