原神抽卡记录导出

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)
Quick script for automatically extracting syscall numbers for an OS

Syscalls-Extractor Quick script for automatically extracting syscall numbers for an OS $ python3 .\syscalls-extractor.py --help usage: syscalls-extrac

m0rv4i 54 Feb 10, 2022
Python template for Advent of Code event

Advent of Code Python Starter A tamplate for Advent of Code write in Python. Usage The project use poetry for project manager. Clone this repository a

Leonardo Gago 6 Dec 31, 2022
A streaming animation of all the edits to a given Wikipedia page.

WikiFilms! What is it? A streaming animation of all the edits to a given Wikipedia page. How it works. It works by creating a "virtual camera," which

Tal Zaken 2 Jan 18, 2022
Linux GUI app to codon optimize many single-fasta files with coding sequences , using many taxonomy ids

codon_optimize_cds_with_many_taxids_singlefasta Linux GUI app to codon optimize many single-fasta files with coding sequences, using many taxonomy ids

Olga Tsiouri 1 Jan 23, 2022
LPCV Winner Solution of Spring Team

LPCV Winner Solution of Spring Team

22 Jul 20, 2022
Return-Parity-MDP - Towards Return Parity in Markov Decision Processes

Towards Return Parity in Markov Decision Processes Code for the AISTATS 2022 pap

Jianfeng Chi 3 Nov 27, 2022
A python implementation of differentiable quality diversity.

Differentiable Quality Diversity This repository is the official implementation of Differentiable Quality Diversity.

ICAROS 41 Nov 30, 2022
Advent of Code 2021 challenges

Data analysis Document here the project: AoC21 Description: Project Description Data Source: Type of analysis: Please document the project the better

Daniel Wendel 1 Jan 07, 2022
A NetBox Plugin that gives a UI for generating, comparing and deploying configurations to devices.

netbox_config_plugin - A plugin to generate, compare and deploy configurations This plugin allows you to execute your code to generate a config for a

Jo 11 Dec 21, 2022
Create VSCode Extensions with python

About Create vscode extensions with python. Installation Stable version: pip install vscode-ext Why use this? Why should you use this for building VSc

Swas.py 134 Jan 07, 2023
This is sample project needed for security course to connect web service to database

secufaku This is sample project needed for security course to "connect web service to database". Why it suits alignment purpose It connects to postgre

Mark Nicholson 6 May 15, 2022
The Official interpreter for the Pix programming language.

The official interpreter for the Pix programming language. Pix Pix is a programming language dedicated to readable syntax and usability Q) Is Pix the

Pix 6 Sep 25, 2022
Generating rent availability info from Effort rent

Rent-info Generating rent availability info from Effort rent Pre-Installation Latest version of python Pip module json, os, requests, datetime, time i

Laixuan 1 Oct 20, 2021
Python project setup, updater, and launcher

Launcher Python project setup, updater, and launcher Purpose: Increase project productivity and provide features easily. Once installed as a git submo

DAAV, LLC 1 Jan 07, 2022
Navigate to your directory of choice the proceed as follows

Installation 🚀 Navigate to your directory of choice the proceed as follows; 1 .Clone the git repo and create a virtual environment Depending on your

Ondiek Elijah Ochieng 2 Jan 31, 2022
An Embedded Linux Project Build and Compile Tool -- An Bitbake UI Extension

Dianshao - An Embedded Linux Project Build and Compile Tool

0 Mar 27, 2022
A wrapper for the apt package manager.

A wrapper for the apt package manager.

531 Jan 04, 2023
Open source book about making Python packages.

Python packages Tomas Beuzen & Tiffany Timbers Python packages are a core element of the Python programming language and are how you create organized,

Python Packages 169 Jan 06, 2023
⚡KiCad library containing footprints and symbols for inductive analog keyboard switches

Inductive Analog Switches This library contains footprints and symbols for inductive analog keyboard switches for use with the Texas Instruments LDC13

Elias Sjögreen 3 Jun 30, 2022
Mpis-ex7 - Implementation of tasks 1, 2, 3 for Metody Probabilistyczne i Statystyka Lista 7

Implementations of task 1, 2 and 3 from here Author: Maciej Bazela Index: 261743 Each task was implemented in Python 3. I've used Cython to speed up e

Maciej Bazela 1 Feb 27, 2022