Legoktm has submitted this change and it was merged.

Change subject: Set a limit of 5000, sf apparently doesn't set a max limit
......................................................................


Set a limit of 5000, sf apparently doesn't set a max limit

Change-Id: I2e8f128a96c6c5aff44a1de347c15a7b820127ee
---
M sf.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Legoktm: Verified; Looks good to me, approved



diff --git a/sf.py b/sf.py
index fdf5419..fb4ac5f 100644
--- a/sf.py
+++ b/sf.py
@@ -20,7 +20,7 @@
     """
     # FIXME: need to continue the query somehow
     url = 'https://sourceforge.net/rest/p/pywikipediabot/' + group
-    r = requests.get(url)
+    r = requests.get(url, params={'limit': 5000})
     return r.json()
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/79945
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2e8f128a96c6c5aff44a1de347c15a7b820127ee
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/sf-export
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to