原神抽卡记录导出

Overview

原神抽卡记录导出

Wiki

功能

  • 读取客户端日志文件中的url
  • 将获取到的6个月历史记录与本地记录合并(1.3版本更新后api只能获取6个月历史记录)
  • 导出抽卡记录为带格式的excel表格
  • 展示抽卡报告 抽卡报告预览 ,鼠标悬停在数量上即可查看对应星级详情
  • 自动抓包本机api请求
  • 记录历史url,如果可用无需重新抓包
  • 可选清除历史生成的excel表格
  • 可选手动输入url
  • exe版无需fiddler和python环境
Comments
  • 关于使用UIGF导入别的软件出现数据错误的问题

    关于使用UIGF导入别的软件出现数据错误的问题

    问题描述

    使用新版本v2.4.0.01122052导出数据,将UIGF导入到刻记牛杂店和SnapGenshin会出现数据混乱。

    系统版本

    Windows11 21H2

    错误信息

    首先感谢作者大佬,之前一直在使用你的这款软件。从老版本一直用到v1.1.23这个版本,最近看到新版本支持UIGF可以导入到别的软件,就想着试试,结果就出现此问题。

    附加截图 v1.1.23 v1 1 23 v2.4.0 v2 4 0 01122052 导入刻记牛杂店出现数据位置错误 刻 刻2 v2.4.0导出的Excel表格中的原始数据好像没按时间正确排序 原始数据

    附带数据文件 v1.1.23 v1.1.23.zip v2.4.0 v2.4.0.zip

    maybe-bug 
    opened by RyanYao6 7
  • 突然需要抓包,运行程序后自动抓包报错

    突然需要抓包,运行程序后自动抓包报错

    检查更新中... 检查配置文件中的链接...url为空 检测到国服日志文件 日志文件中没有链接 开始通过抓包模式捕获链接 注意:必须等程序运行结束或者Ctrl+C退出,不要直接关闭,否则会上不了网 可以用解压出来的关闭代理bat脚本恢复,或者 设置 - 网络和Internet - 代理 - 使用代理服务器 - 关闭 确定使用抓包模式吗?输入yes确认执行:yes 设置代理...成功 请打开抽卡记录页面,并翻页几次 正在捕获链接...抓包模块出错: Traceback (most recent call last): File "main.py", line 442, in File "main.py", line 286, in capture ModuleNotFoundError: No module named 'mitmproxy.proxy.config'

    bug 
    opened by a390138773 6
  • v2.6.0.05091700 出货抽数统计有问题

    v2.6.0.05091700 出货抽数统计有问题

    1、将4月备份的文件复制出来,重命名为gachaData.json和gachaData-[UID].json 2、执行v2.6.0.05091700,导出新数据

    问题:

    常驻池跟角色限定池的总抽数都是对的,但是“距上次”、“平均出货次数”,以及每一个五星多少抽的数据,都是错的。

    另外,导出的UIGF文件没有数据:"list": []

    回退至v2.6.0.04301038,再次尝试,导出数据正常了。

    opened by oTnTh 4
  • 关于祈愿ID的问题

    关于祈愿ID的问题

    入坑时间比较晚,不知道之前的API是什么情况。 有这么几个问题:

    1、服务器返回的祈愿数据中ID这个key是在哪个版本中加入的? 2、您的软件在什么时候增加了保存祈愿ID的功能? 3、之前保存的没有ID的祈愿数据会被补上这一数据?

    您的回答对我开发很重要,关系到能否直接从json文件导入数据,非常感谢!

    opened by Scighost 4
  • 五星统计

    五星统计

    依赖于pandas- -不过可以先凑合用- -

    报告长这样

    ==========抽卡统计报告==========
    ---------新手祈愿---------
    尚未获得五星
    ---------常驻祈愿---------
    五星数量:2
    平均出货:41
    最欧的一次:7
    最非的一次:75
    ---------角色活动祈愿---------
    五星数量:9
    平均出货:63
    最欧的一次:22
    最非的一次:79
    ---------武器活动祈愿---------
    五星数量:3
    平均出货:57
    最欧的一次:50
    最非的一次:67
    ---------合计---------
    五星数量:14
    平均出货:59
    最欧的一次:7
    最非的一次:79
    
    opened by yanshil 3
  • 使用工具时报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0xb8 in position 36368: illegal multibyte sequence

    使用工具时报错 UnicodeDecodeError: 'gbk' codec can't decode byte 0xb8 in position 36368: illegal multibyte sequence

    问题描述

    未知,某一天启动小工具时突然无法正常工作了,异常前一两天还是正常的

    系统版本

    Windows10 22H2(19045.2364)

    错误信息

    2022-12-31 15:22:12.084 | INFO     | __main__:<module>:246 - 项目主页: https://github.com/sunfkny/genshin-gacha-export
    2022-12-31 15:22:12.087 | INFO     | __main__:<module>:247 - 作者: sunfkny
    2022-12-31 15:22:12.089 | INFO     | __main__:<module>:248 - 版本: v3.3.0.12101546
    2022-12-31 15:22:12.097 | INFO     | updater:update:99 - 更新发布: https://github.com/sunfkny/genshin-gacha-export/releases
    2022-12-31 15:22:12.099 | INFO     | updater:update:100 - Coding 制品库(国内推荐): https://sunfkny.coding.net/public-artifacts/genshin-gacha-export/releases/packages
    2022-12-31 15:22:12.303 | INFO     | updater:update:136 - 当前已是最新版本
    2022-12-31 15:22:12.306 | INFO     | __main__:<module>:261 - 检查配置文件中的链接
    2022-12-31 15:22:12.591 | WARNING  | __main__:checkApi:212 - 链接过期
    2022-12-31 15:22:12.645 | INFO     | __main__:<module>:277 - 使用剪贴板模式
    2022-12-31 15:22:12.650 | INFO     | __main__:<module>:285 - 剪贴板中无链接
    2022-12-31 15:22:12.653 | INFO     | __main__:<module>:304 - 云·原神日志不存在
    2022-12-31 15:22:12.655 | INFO     | __main__:<module>:322 - 使用日志 C:\Users\Administrator\AppData\LocalLow\miHoYo\原 神\output_log.txt
    2022-12-31 15:22:12.661 | ERROR    | __main__:<module>:373 - 日志读取模块出错: Traceback (most recent call last):
      File "main.py", line 329, in <module>
      File "pathlib.py", line 1267, in read_text
      File "codecs.py", line 322, in decode
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 556483: invalid continuation byte
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "main.py", line 332, in <module>
      File "pathlib.py", line 1267, in read_text
    UnicodeDecodeError: 'gbk' codec can't decode byte 0xb8 in position 36368: illegal multibyte sequence
    
    2022-12-31 15:22:12.665 | INFO     | utils:pressAnyKeyToExit:20 - 执行结束,按任意键退出
    

    附加截图

    opened by soupedog 2
  • 日志读取模块出错

    日志读取模块出错

    问题描述 3.0更新3.1后 系统版本 Windows11 21H2

    错误信息 ERROR | main::352 - 日志读取模块出错: Traceback (most recent call last): File "main.py", line 301, in File "pathlib.py", line 1267, in read_text File "codecs.py", line 322, in decode UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 475910: invalid start byte

    附加截图

    opened by MY36 2
  • Windows 11、3.0版本抓包崩溃

    Windows 11、3.0版本抓包崩溃

    问题描述

    1. 从Coding下载最新包(genshin-gacha-export_capture.zip,v3.0.0.08251149)
    2. 运行CaptureApp.exe
    3. 允许安装证书、防火墙放行
    4. 点击“开始”
    5. 切回原神抽卡记录页面,点击下一页
    6. 提示网络错误,此时按Windows回到桌面发现CaptureApp窗口消失,应该是崩溃了

    尝试过修改端口,仍然复现。

    系统版本

    Windows 11专业版21H2

    错误信息

    直接崩溃,无错误弹窗。

    附加截图

    opened by perqin 2
  • TypeError: 'NoneType' object is not callable

    TypeError: 'NoneType' object is not callable

    问题描述 0.已经关闭了代理 1.按照流程生成了正确的excel文件 2.但是执行窗口报错了,而且也不能按任意键退出

    系统版本 win10 1909 操作系统版本18363.1316

    错误信息 `设置代理...成功 开始捕获链接...成功 清除代理...成功 检查URL...Traceback (most recent call last): File "mitmproxy\proxy\server.py", line 121, in handle File "mitmproxy\proxy\modes\http_proxy.py", line 9, in call File "mitmproxy\proxy\protocol\tls.py", line 285, in call File "mitmproxy\proxy\protocol\http1.py", line 100, in call File "mitmproxy\proxy\protocol\http.py", line 204, in call File "mitmproxy\proxy\protocol\http.py", line 277, in _process_flow File "mitmproxy\proxy\protocol\http.py", line 222, in handle_regular_connect File "mitmproxy\proxy\protocol\tls.py", line 285, in call TypeError: 'NoneType' object is not callable

    mitmproxy has crashed! Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy 正常 获取物品信息...物品数:74 获取卡池信息...新手祈愿 常驻祈愿 角色活动祈愿 武器活动祈愿 获取抽卡数据...新手祈愿 常驻祈愿 角色活动祈愿 武器活动祈愿 清除历史文件... 写入文件...XLS 执行完成,按任意键退出...Traceback (most recent call last): File "mitmproxy\proxy\server.py", line 121, in handle TypeError: 'NoneType' object is not callable

    mitmproxy has crashed! Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy`

    附加截图 屏幕截图 2021-01-25 232943

    bug 
    opened by wcx19911123 2
  • 抽卡记录导出工具出错

    抽卡记录导出工具出错

    问题描述

    初次运行exe时在【开始捕获链接】处卡主,然后运行了附带的bat关闭代理并重新启动exe后出现error提示。

    系统版本

    Windows10

    错误信息

    mitmproxy has crashed! Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy Traceback (most recent call last): File "mitmproxy\proxy\server.py", line 121, in handle TypeError: 'NoneType' object is not callable

    附加截图 屏幕截图 2021-01-25 193248

    bug 
    opened by 981537091 2
  • 執行時出現SSL相關的錯誤訊息

    執行時出現SSL相關的錯誤訊息

    請問在執行的時候出現以下的錯誤訊息,看起來像SSL認證問題? 請問怎麼解決呢? 謝謝

    Traceback (most recent call last): File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 696, in urlopen
    self._prepare_proxy(conn) File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy conn.connect() File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 359, in connect conn = self._connect_tls_proxy(hostname, conn) File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connection.py", line 496, in connect_tls_proxy return ssl_wrap_socket( File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 432, in ssl_wrap_socket
    ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls) File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\ssl.py", line 474, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock) File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 500, in wrap_socket return self.sslsocket_class._create( File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1040, in _create self.do_handshake() File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\ssl.py", line 1309, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\adapters.py", line 439, in send resp = conn.urlopen( File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment( File "C:\Users\godbl\AppData\Local\Programs\Python\Python39\lib\site-packages\urllib3\util\retry.py", line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hk4e-api-os.mihoyo.com', port=443): Max retries exceeded with url: /event/gacha_info/api/getGachaLog?authkey_ver=1&sign_type=2&auth_appid=webview_gacha&init_type=301&gacha_id=8b5ca18f79ee64a0cd71826c24a0c0808ac813&lang=zh-tw&device_type=pc&ext=%7B%22loc%22%3A%7B%22x%22%3A-663.3135375976563%2C%22y%22%3A220.3798370361328%2C%22z%22%3A262.802734375%7D%2C%22platform%22%3A%22WinST%22%7D&game_version=OSRELWin1.2.0_R1771533_S1780278_D1780278&region=os_asia&authkey=J7jN9eAf7qUpbn3QeTW5HEo4CeNBD%2BF9lhWS65VZQ5igp03zQsKZ7oTimbpVNfO3%2BxxUMC9%2F2Fq%2FJFZEkRGQxKTkgYp%2BKeaAA2SojMNbpgxWZYleKiwbuY%2BsqIfqJweXUV7Ep%2FiHOWM8a6YlA28xYu6p%2BYOD6ZabCqtakNC%2BCrx9luwTlVIuL5zpXdKSRMrtb859au7SlxJmqfhjD28OzFzndm2merTW5mPeHfh6RC25tvcCmXPm9ncAgmGeZz%2BGVN8aJ55ZTwkhz%2B23v%2BHfi7chL6I99ZTSxJQ6xVxNuUYq7KJ6gHDS4QG2Zt39nAxnJ%2BRmHq%2FoilQP8uaEYpCFLzVx5dwxES7u%2BWMQh7s7N04rYIfMvn4SKg6BTaAyivJuV8Q3FhSVKwcIHMWpKhxStabn8OLDcrA%3D%3D&game_biz=hk4e_global&gacha_type=200&page=1&size=20 (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)')))

    opened by NeiL978 2
  • Bump certifi from 2022.6.15.1 to 2022.12.7

    Bump certifi from 2022.6.15.1 to 2022.12.7

    Bumps certifi from 2022.6.15.1 to 2022.12.7.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 1
Releases(v3.3.0.12101546)
An extended, game oriented, turtle

Burtle A Better TURTLE. Makes making games easier. write less do more!! Documentation & guide: https://alannxq.github.io/burtle/ Installation pip inst

5 May 19, 2022
A blazing fast mass certificate generator script for the community ⚡

A simple mass certificate generator script for the community ⚡ Source Code · Docs · Raw Script Docs All you need Certificate Design a simple template

Tushar Nankani 24 Jan 03, 2023
It is a personal assistant chatbot, capable to perform many tasks same as Google Assistant plus more extra features...

PersonalAssistant It is an Personal Assistant, capable to perform many tasks with some unique features, that you haven'e seen yet.... Features / Tasks

Roshan Kumar 95 Dec 21, 2022
ChieriBot,词云API版,用于统计群友说过的怪话

wordCloud_API 词云API版,用于统计群友说过的怪话,基于wordCloud 消息储存在mysql数据库中.数据表结构见table.sql 为啥要做成API:这玩意太吃性能了,如果和Bot放在同一个服务器,可能会影响到bot的正常运行 你服务器性能够用的话就当我在放屁 依赖包 pip i

chinosk 7 Mar 20, 2022
WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

Robert C. Maehl 5.9k Dec 31, 2022
pyRTOS is a real-time operating system (RTOS), written in Python.

pyRTOS Introduction pyRTOS is a real-time operating system (RTOS), written in Python. The primary goal of pyRTOS is to provide a pure Python RTOS that

Ben Williams 96 Dec 30, 2022
Write-ups for CTF Internacional MetaRed 2021 5th stage

MetaRed2021-5th-Writeups Write-ups for CTF Internacional MetaRed 2021 5th stage Easy (15) No Status Category Name Creator(s) 01 Done osint Cybersecuri

UA Cybersecurity 2 Dec 22, 2021
SDX: Software Defined Internet Exchange

Installation steps: Download and import the Internet2-SDX virtual machine (VM) image, below, in VirtualBox and you are all set :) $ wget http://sites.

Software Defined Internet Exchange Point 15 Nov 21, 2021
The ROS publisher/subscriber example packaged as a snap

publisher-subscriber The ROS publisher/subscriber example packaged as a snap, based on ROS Noetic and Ubuntu Core 20. Strictly confined. This example

3 Dec 03, 2021
Agora-token-helper - Some help tools for AgoraToken

Agora Token Helper Support AgoraToken version 001 - 006. But for security reason

A Python3 script to decode an encoded VBScript file, often seen with a .vbe file extension

vbe-decoder.py Decode one or multiple encoded VBScript files, often seen with a .vbe file extension. Usage usage: vbe-decoder.py [-h] [-o output] file

John Hammond 147 Nov 15, 2022
Demodulate and error correct FIS-B and ADS-B signals on 978 MHz.

FIS-B 978 ('fisb-978') is a set of programs that demodulates and error corrects FIS-B (Flight Information System - Broadcast) and ADS-B (Automatic Dep

2 Nov 15, 2022
A nonebot2 plugin, send news information in a picture form.

A nonebot2 plugin, send news information in a picture form.

幼稚园园长 7 Nov 18, 2022
This scrypt for auto brightness control

God damn. This scrypt for auto brightness control. The scrypt has voice assistant. You should move this script to auto-upload folder. What do you need

0 Jul 25, 2022
Audio-analytics for music-producers! Automate tedious tasks such as musical scale detection, BPM rate classification and audio file conversion.

Click here to be re-directed to the Beat Inspect Streamlit Web-App You are a music producer? Let's get in touch via LinkedIn Fundamental Analytics for

Stefan Rummer 11 Dec 27, 2022
Coronavirus Tracker API

Coronavirus Tracker API Provides up-to-date data about Coronavirus outbreak. Includes numbers about confirmed cases, deaths and recovered. Support mul

Francisco Laguna 1 Oct 31, 2020
Open Source defrag's mod code

Open Source defrag's mod code Goals: Code & License: Respect FOSS philosophy. Open source and community focus. Eliminate all traces of q3a-sdk licensi

sOkam! 1 Dec 10, 2022
An app to automatically take attendance by scanning students' bar coded ID card as they enter the classroom.

Auto Classroom Attendance This application may be run on a PC to automatically scan students' ID card using a generic bar code scanner and output the

1 Nov 10, 2021
Scripts to convert the Ted-MDB corpora into the formats for DISRPT shared task and the converted corpora

Scripts to convert the Ted-MDB corpora into the formats for DISRPT shared task and the converted corpora.

1 Feb 08, 2022
Socorro is the Mozilla crash ingestion pipeline. It accepts and processes Breakpad-style crash reports. It provides analysis tools.

Socorro Socorro is a Mozilla-centric ingestion pipeline and analysis tools for crash reports using the Breakpad libraries. Support This is a Mozilla-s

Mozilla Services 552 Dec 19, 2022