• 请不要在回答技术问题时复制粘贴 AI 生成的内容
estk
V2EX  ›  程序员

明明拿到 tiktok 的视频链接了,为何无法下载?

  •  
  •   estk · Jun 24, 2023 · 3100 views
    This topic created in 1235 days ago, the information mentioned may be changed or developed.

    照道理,用这样 fetch 保持了原始请求的 header ,包括 cookie ,但依然被 403

    NessajCN
    NessajCN
    Jun 24, 2023
    1
    为啥你觉得保留原本的 header 和 cookie 就不会 403 了?
    你那一串 url 里显然是有各种用于验证的 param 的啊
    akira
    akira
    Jun 24, 2023
    2
    无脑猜测,里面可能有带时间敏感的参数
    lhx2008
    lhx2008
    Jun 24, 2023❤️2
    3
    用 copy as curl
    dem0ns
    dem0ns
    Jun 24, 2023
    4
    你这 fetch 也没 header 啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4478 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 01:15 · PVG 09:15 · LAX 17:15 · JFK 20:15
    ♥ Do have faith in what you're doing.