Fix twitter cookie parsing regression#190
Closed
srxly888-creator wants to merge 1 commit intoPanniantong:mainfrom
Closed
Fix twitter cookie parsing regression#190srxly888-creator wants to merge 1 commit intoPanniantong:mainfrom
srxly888-creator wants to merge 1 commit intoPanniantong:mainfrom
Conversation
Owner
|
Thanks for the contribution! 🙏 I've rebased your changes onto the latest Since this is a fork PR and can't be rebased in-place, I've opened a new PR based on the rebased branch: see PR #196. Credit preserved in the commit. Closing this in favor of the rebased version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed / 更新内容
(将 Twitter/X 的 cookie 解析逻辑提取到了专用的辅助模块中,以提升代码的可维护性。)
~/.config/xfetch/session.jsonsynchronization completely unchanged.(现有的配置写入行为,以及与
~/.config/xfetch/session.json的同步逻辑保持完全不变。)(新增了全面的单元测试,已覆盖两种受支持的输入格式。)
Testing / 测试情况
Command Run / 执行命令: