import{_ as a,r,o as l,c,a as e,b as t,d as n,e as o}from"./app-CtnjWF_9.js";const d={},s=o('
注意
- 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关
- 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关
Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cookie
',4),p={class:"hint-container tip"},h=e("p",{class:"hint-container-title"},"GetToken 开源项目",-1),m={href:"https://github.com/HolographicHat/GetToken",target:"_blank",rel:"noopener noreferrer"},k=o('- GetToken 项目的发布会包含两个 apk 文件,两者最终效果相同。根据你的设备情况选择适合你的版本即可
app-release.apk 为一个 LSPosed 插件允许用户在官方米游社中使用 GetToken 功能- 名称以
lspatched 结尾的 apk 文件是一个已包含 GetToken 功能的修改版米游社程序
- 启用插件或安装修改版米游社后打开米游社,在底栏点击"我的",然后登录您的通行证
- 在右上角点击形如 🔑 形状的按钮
- 点击勾选
Stoken 选项 - 点击 “复制登录信息”
- 将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑
- 在 “胡桃” 中账号登录的位置,点击 “手动输入”
- 将之前获取到的 Cookie 输入,此时即可完成登录
iOS 用户可以在 App Store 下载抓包软件 Stream 来获取包含 Stoken 字段的 cookie
',3),u={href:"https://apps.apple.com/cn/app/stream/id1312141691",target:"_blank",rel:"noopener noreferrer"},g=o("对域名 api-takumi.mihoyo.com 进行抓包分析找到并复制带有 Stoken 的数据 - 形如
stuid=****;stoken=v2****;mid=****;
将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑在 “胡桃” 中账号登录的位置,点击 “手动输入”将之前获取到的 Cookie 输入,此时即可完成登录",5);function S(f,_){const i=r("ExternalLinkIcon");return l(),c("div",null,[s,e("div",p,[h,e("ul",null,[e("li",null,[t("GitHub:"),e("a",m,[t("HolographicHat/GetToken"),n(i)])])])]),k,e("ul",null,[e("li",null,[t("从 App Store 下载 "),e("a",u,[t("Stream"),n(i)])]),g])])}const T=a(d,[["render",S],["__file","get-stoken-cookie-from-the-third-party.html.vue"]]),G=JSON.parse('{"path":"/zh/advanced/get-stoken-cookie-from-the-third-party.html","title":"使用第三方工具获取有 Stoken 的 cookie","lang":"zh-CN","frontmatter":{"category":["FAQ","第三方工具"],"icon":"iconfont icon-read","order":7,"comment":false,"description":"使用第三方工具获取有 Stoken 的 cookie 注意 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关 Android Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cookie GetTok...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/advanced/get-stoken-cookie-from-the-third-party.html"}],["link",{"rel":"alternate","hreflang":"id-id","href":"https://hut.ao/id/advanced/get-stoken-cookie-from-the-third-party.html"}],["link",{"rel":"alternate","hreflang":"ru-ru","href":"https://hut.ao/ru/advanced/get-stoken-cookie-from-the-third-party.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/advanced/get-stoken-cookie-from-the-third-party.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"使用第三方工具获取有 Stoken 的 cookie"}],["meta",{"property":"og:description","content":"使用第三方工具获取有 Stoken 的 cookie 注意 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关 Android Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cookie GetTok..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"id-ID"}],["meta",{"property":"og:locale:alternate","content":"ru-RU"}],["meta",{"property":"og:updated_time","content":"2024-02-24T16:06:51.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2024-02-24T16:06:51.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用第三方工具获取有 Stoken 的 cookie\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-02-24T16:06:51.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"],["link",{"rel":"alternate","type":"application/rss+xml","href":"https://hut.ao/zh/rss.xml","title":"胡桃工具箱 RSS Feed"}]]},"headers":[{"level":2,"title":"Android","slug":"android","link":"#android","children":[]},{"level":2,"title":"iOS","slug":"ios","link":"#ios","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1708790811000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":6},{"name":"Mikachu2333","email":"mikachu.23333@zohomail.com","commits":1},{"name":"Mr.Hope","email":"mister-hope@outlook.com","commits":1}]},"readingTime":{"minutes":1.6,"words":479},"filePathRelative":"zh/advanced/get-stoken-cookie-from-the-third-party.md","localizedDate":"2023年3月21日","autoDesc":true}');export{T as comp,G as data};