Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QQ download fhd #2972

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

QQ download fhd #2972

wants to merge 2 commits into from

Conversation

4ft35t
Copy link
Contributor

@4ft35t 4ft35t commented Aug 18, 2022

腾讯视频导入 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)

@soimort-bot
Copy link
Collaborator

Hello @4ft35t,
Thanks for the Pull Request. We ❤️ 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.

祝您健康!

@4ft35t
Copy link
Contributor Author

4ft35t commented Aug 18, 2022

腾讯视频的清晰度定义

[
  {
    "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": ""
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants