From ac09f7f2a66157ba13ed074d0277aaa340f1b676 Mon Sep 17 00:00:00 2001 From: chenjunxue <1523825571@qq.com> Date: Tue, 23 Mar 2021 13:39:25 +0800 Subject: [PATCH] 5.2.2 1.修复采集群组相关接口更新的问题 --- conf/config.yaml | 4 ++-- lib/facebook.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/config.yaml b/conf/config.yaml index 0f81660..f4053bd 100644 --- a/conf/config.yaml +++ b/conf/config.yaml @@ -5,5 +5,5 @@ SERVER: control: http://fbchat.xyz:39002/api/terminal mark: ntkj VERSION: - code: 521 - name: 5.2.1 \ No newline at end of file + code: 522 + name: 5.2.2 \ No newline at end of file diff --git a/lib/facebook.py b/lib/facebook.py index 3b4c6a1..54e53a6 100644 --- a/lib/facebook.py +++ b/lib/facebook.py @@ -1210,6 +1210,7 @@ class FacebookClient(Client): if isinstance(key, str): new_filters.append(json.dumps(key)) variables = { + "count": 5, "allow_streaming": False, "args": { "callsite": "comet:groups_search", @@ -1220,7 +1221,7 @@ class FacebookClient(Client): "filters": new_filters, "text": name}, "cursor": cursor, "feedbackSource": 23, "fetch_filters": True, "scale": 2, "stream_initial_count": 0} - res = self.graphql_api('SearchCometResultsInitialResultsQuery', '3368157419964616', variables) + res = self.graphql_api('SearchCometResultsInitialResultsQuery', '3854124781368776', variables) return self.f_res(res) def GraphSearchQueryFilter(self, city): -- libgit2 0.24.0