原神抽卡记录导出

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)
tool to automate exploitation of android degubg bridge vulnerability

DISCLAIMER DISCLAIMER: ANY MALICIOUS USE OF THE CONTENTS FROM THIS ARTICLE WILL NOT HOLD THE AUTHOR RESPONSIBLE HE CONTENTS ARE SOLELY FOR EDUCATIONAL

6 Feb 12, 2022
PORTSCANNING-IN-PYTHON - A python threaded portscanner to scan websites and ipaddresses

PORTSCANNING-IN-PYTHON This is a python threaded portscanner to scan websites an

1 Feb 16, 2022
This python code will get requests from SET (The Stock Exchange of Thailand) a previously-close stock price and return it in Thai Baht currency using beautiful soup 4 HTML scrapper.

This python code will get requests from SET (The Stock Exchange of Thailand) a previously-close stock price and return it in Thai Baht currency using beautiful soup 4 HTML scrapper.

Andre 1 Oct 24, 2022
A simple and efficient computing package for Genshin Impact gacha analysis

GGanalysisLite计算包 这个版本的计算包追求计算速度,而GGanalysis包有着更多计算功能。 GGanalysisLite包通过卷积计算分布列,通过FFT和快速幂加速卷积计算。 测试玩家得到的排名值rank的数学意义是:与抽了同样数量五星的其他玩家相比,测试玩家花费的抽数大于等于比例

一棵平衡树 34 Nov 26, 2022
Different steganography methods with examples and my own small image database

literally-the-most-useless-project [Different steganography methods with examples and my own small image database] This project currently contains thr

Kamyishka 1 Dec 09, 2022
Tomador de ramos UC automatico para Windows, Linux y macOS

auto-ramos v2.0 Tomador de ramos UC automatico para Windows, Linux y macOS Funcion Este script de Python tiene como principal objetivo hacer que la to

Open Source eUC 13 Jun 29, 2022
Paprika is a python library that reduces boilerplate. Heavily inspired by Project Lombok.

Image courtesy of Anna Quaglia (Photographer) Paprika Paprika is a python library that reduces boilerplate. It is heavily inspired by Project Lombok.

Rayan Hatout 55 Dec 26, 2022
A simple wrapper to analyse and visualise reinforcement learning agents' behaviour in the environment.

Visrl Visrl (pronounced "visceral") is a simple wrapper to analyse and visualise reinforcement learning agents' behaviour in the environment. Reinforc

Jet New 14 Jun 27, 2022
Appointment Tracker that allows user to input client information and update if needed.

Appointment-Tracker Appointment Tracker allows an assigned admin to input client information regarding their appointment and their appointment time. T

IS Coding @ KSU 1 Nov 30, 2021
A novel dual model approach for categorization of unbalanced skin lesion image classes (Presented technical paper 📃)

A novel dual model approach for categorization of unbalanced skin lesion image classes (Presented technical paper 📃)

1 Jan 19, 2022
The fundamentals of Python!

The fundamentals of Python Author: Mohamed NIANG, Staff ML Scientist Presentation This repository contains notebooks on the fundamentals of Python. Th

Mohamed NIANG 1 Mar 15, 2022
AIST++ API This repo contains starter code for using the AIST++ dataset.

Explainability for Vision Transformers (in PyTorch) This repository implements methods for explainability in Vision Transformers

Google 260 Dec 30, 2022
A very basic ciphering/deciphering tool

ckrett-python-library This is an useful python library for people who care about privacy, this library is useful to cipher and decipher text using 4 s

SasiVatsal 8 Oct 18, 2022
A example project's description is a high-level overview of why you’re doing a project.

A example project's description is a high-level overview of why you’re doing a project.

Nikita Matyukhin 12 Mar 23, 2022
A(Sync) Interface for internal Audible API written in pure Python.

Audible Audible is a Python low-level interface to communicate with the non-publicly Audible API. It enables Python developers to create there own Aud

mkb79 192 Jan 03, 2023
Material de apoio da oficina de SAST apresentada pelo CAIS no Webinar de 28/05/21.

CAIS-CAIS Conjunto de Aplicações Intencionamente Sem-Vergonha do CAIS Material didático do Webinar "EP1. Oficina - Práticas de análise estática de cód

Fausto Filho 14 Jul 25, 2022
Pyrmanent - Make all your classes permanent in a flash 💾

Pyrmanent A base class to make your Python classes permanent in a flash. Features Easy to use. Great compatibility. No database needed. Ask for new fe

Sergio Abad 4 Jan 07, 2022
Painel de consulta

⚙ FullP 1.1 Instalação 💻 git clone https://github.com/gav1x/FullP.git cd FullP pip3 install -r requirements.txt python3 main.py Um pequeno

gav1x 26 Oct 11, 2022
This is an example manipulation package of for a robot manipulator based on Drake with ROS2.

This is an example manipulation package of for a robot manipulator based on Drake with ROS2.

Sotaro Katayama 1 Oct 21, 2021
Monitoring of lake dynamics

slamcore_utils Description This repo contains the slamcore-setup-dataset script. It can be used for installing a sample dataset for offline testing an

10 Jun 23, 2022