原神抽卡记录导出

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)
UF3: a python library for generating ultra-fast interatomic potentials

Ultra-Fast Force Fields (UF3) S. R. Xie, M. Rupp, and R. G. Hennig, "Ultra-fast interpretable machine-learning potentials", preprint arXiv:2110.00624

Ultra-Fast Force Fields 24 Nov 13, 2022
Reference management solution using Python and Notion.

notion-scholar Reference management solution using Python and Notion. The main idea of this app is to allow to furnish a Notion database using a BibTe

Thomas Hirtz 69 Dec 21, 2022
Comprehensive Python Cheatsheet

Comprehensive Python Cheatsheet

Jure Šorn 31.3k Dec 30, 2022
This is a small compiler to demonstrate how compilers work.

This is a small compiler to demonstrate how compilers work. It compiles our own dialect to C, while being written in Python.

Md. Tonoy Akando 2 Jul 19, 2022
validation for pre-commit.ci configuration

pre-commit-ci-config validation for pre-commit.ci configuration installation pip install pre-commit-ci-config api pre_commit_ci_config.SCHEMA a cfgv s

pre-commit.ci 17 Jul 11, 2022
Beginner Projects A couple of beginner projects here

Beginner Projects A couple of beginner projects here, listed from easiest to hardest :) selector.py: simply a random selector to tell me who to faceti

Kylie 272 Jan 07, 2023
Ferramenta de monitoramento do risco de colapso no sistema de saúde em municípios brasileiros com a Covid-19.

FarolCovid 🚦 Ferramenta de monitoramento do risco de colapso no sistema de saúde em municípios brasileiros com a Covid-19. Monitoring tool & simulati

Impulso 49 Jul 10, 2022
pyinsim is a InSim module for the Python programming language.

PYINSIM pyinsim is a InSim module for the Python programming language. It creates socket connection with LFS and provides many classes, functions and

2 May 12, 2022
Python implementation for Active Directory certificate abuse

Certipy is a Python tool to enumerate and abuse misconfigurations in Active Directory Certificate Services (AD CS). Based on the C# variant Ce

Oliver Lyak 1.3k Jan 09, 2023
《赛马娘》(ウマ娘: Pretty Derby)辅助 🐎🖥 基于 auto-derby 可视化操作/设置 启动器 一键包

ok-derby 《赛马娘》(ウマ娘: Pretty Derby)辅助 🐎 🖥 基于 auto-derby 可视化操作/设置 启动器 一键包 便捷,好用的 auto_derby 管理器! 功能 支持客户端 DMM (前台) 实验性 安卓 ADB 连接(后台)开发基于 1080x1920 分辨率

秋葉あんず 90 Jan 01, 2023
AndroidEnv is a Python library that exposes an Android device as a Reinforcement Learning (RL) environment.

AndroidEnv is a Python library that exposes an Android device as a Reinforcement Learning (RL) environment.

DeepMind 814 Dec 26, 2022
World's best free and open source ERP.

World's best free and open source ERP.

Frappe 12.5k Jan 07, 2023
automate some stuff so I can be more noob

dota automate some stuff so I can be more noob This is a simple project, but one that I've wanted forever! I use pyautogui, time, smtplib and datetime

Aaron Allen 17 Oct 18, 2022
Repository, with small useful and functional applications

Repositorio,com pequenos aplicativos uteis e funcionais A ideia e ir deselvolvendo pequenos aplicativos funcionais e adicionar a este repositorio List

GabrielDuke 6 Dec 06, 2021
Tracking stock volatility.

SP500-highlow-tracking Track stock volatility. Being a useful indicator of the stock price volatility, High-Low gap represents the price range of the

Thong Huynh 13 Sep 07, 2022
A tool for checking if the external data used in Flatpak manifests is still up to date

Flatpak External Data Checker This is a tool for checking for outdated or broken links of external data in Flatpak manifests. Motivation Flatpak apps

Flathub 76 Dec 24, 2022
A python script to search for k-uniform Euclidean tilings.

k-uniform-solver A python script to search for k-uniform Euclidean tilings. This project's aim is to replicate and extend the list of k-uniform Euclid

3 Dec 06, 2022
Unified Distributed Execution

Unified Distributed Execution The framework supports multiple execution backends: Ray, Dask, MPI and MultiProcessing. To run tests you need to install

17 Dec 25, 2022
Solutions for the Advent of Code 2021 event.

About 📋 This repository holds all of the solution code for the Advent of Code 2021 event. All solutions are done in Python 3.9.9 and done in non-real

robert yin 0 Mar 21, 2022
App to get data from popular polish pages with job offers

Job board parser I written simple app to get me data from popular pages with job offers, because I wanted to knew immidietly if there is some new offe

0 Jan 04, 2022