diff --git a/notion/client.py b/notion/client.py index 3d74893..83b8326 100644 --- a/notion/client.py +++ b/notion/client.py @@ -310,7 +310,7 @@ def search_pages_with_parent(self, parent_id, search=""): data = { "query": search, "parentId": parent_id, - "limit": 10000, + "limit": 100, "spaceId": self.current_space.id, } response = self.post("searchPagesWithParent", data).json() diff --git a/notion/store.py b/notion/store.py index 57620c9..2393e37 100644 --- a/notion/store.py +++ b/notion/store.py @@ -277,7 +277,7 @@ def call_load_page_chunk(self, page_id): data = { "pageId": page_id, - "limit": 100000, + "limit": 100, "cursor": {"stack": []}, "chunkNumber": 0, "verticalColumns": False, @@ -326,7 +326,7 @@ def call_query_collection( "collectionId": collection_id, "collectionViewId": collection_view_id, "loader": { - "limit": 10000, + "limit": 1000000, "loadContentCover": True, "searchQuery": search, "userLocale": "en",