[wikimedia] raise default value for 'limit' from 10 to 50

This commit is contained in:
ClosedPort22
2024-08-18 16:33:13 +08:00
parent 5704024662
commit 968c04a27c
2 changed files with 2 additions and 2 deletions

View File

@@ -4541,7 +4541,7 @@ extractor.wikimedia.limit
Type
``integer``
Default
``10``
``50``
Description
Number of results to return in a single API query.

View File

@@ -29,7 +29,7 @@ class WikimediaExtractor(BaseExtractor):
self.category = "{}-{}".format(
self.category, self.root.partition(".")[0].rpartition("/")[2])
self.per_page = self.config("limit", 10)
self.per_page = self.config("limit", 50)
def _init(self):
api_path = self.config_instance("api-path")