Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79945
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(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/sf-export
refs/changes/45/79945/1
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: newchange
Gerrit-Change-Id: I2e8f128a96c6c5aff44a1de347c15a7b820127ee
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/sf-export
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits