Skip to content

KeyError: respBody  #3

Description

@secdevlpr26

I ran the main.py file and got the following error:

"Traceback (most recent call last):
File "/home/supraja/1MiniApps/MiniApp-Crawler/MiniCrawler-main/MetadataCrawler/main.py", line 62, in
MiniAppsSearch._request_by_word(word, onitems)
File "/home/supraja/1MiniApps/MiniApp-Crawler/MiniCrawler-main/MetadataCrawler/MiniAppsSearch.py", line 91, in _request_by_word
_request_by_response(respjs, tdata, onitems)
File "/home/supraja/1MiniApps/MiniApp-Crawler/MiniCrawler-main/MetadataCrawler/MiniAppsSearch.py", line 54, in _request_by_response
while respjs['respBody']['continueFlag']:
KeyError: 'respBody' "

The following was the response from the API:
Response of request: b'{"base":{"session":{"_fake_id":"0","_sid_ticket":"","_data_ticket":"","_sid_expire":0,"_transkey":""},"ret":7}}'

I used Wechat version 8.0.18 [The latest version as of June 14] and used LSPosed-v1.8.3-6552-riru-release for the purpose.

And the following is my httpGetData.txt:

[wechatSearch getSearchSuggestionData] [version 80009162] [scene 201] [isHomePage 0] [type 262208] {"scene":201,"version":80009162,"query":"%%QUERY%%","type":262208,"isHomePage":0,"requestType":false,"sugId":"","sessionId":"-1538862360900281592"}

This is what I got from hooking the Wechat Search :)

I will be glad if you are able to help :))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions