Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove gjson in favor of gojq #1048

Merged
merged 2 commits into from
Mar 4, 2022
Merged

Remove gjson in favor of gojq #1048

merged 2 commits into from
Mar 4, 2022

Conversation

dfang
Copy link
Contributor

@dfang dfang commented Mar 3, 2022

gjson 远不如jq 强大,有些取值还是做不到

比如要取这个里的video_list里的main_url, gjson做不到, 而且搜索下了源代码,目前还没有extractor依赖gjson,建议替换

gojq 可以,并且和jq语法一直,提供命令行,方便测试

kuaishou json

Copy link
Owner

@iawia002 iawia002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@iawia002 iawia002 merged commit ccdadbe into iawia002:master Mar 4, 2022
@iawia002 iawia002 mentioned this pull request Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants