Skip to content

Commit

Permalink
Update the limit for a full test run
Browse files Browse the repository at this point in the history
  • Loading branch information
benedict-chan committed May 21, 2015
1 parent c5ec91f commit e6e4baa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -27,11 +27,11 @@ def request_page_using_id ( page_id ):
"format":"json",
"action":"query",
"list":"allpages",
"aplimit":"10"
"aplimit":"500"
}
params.update({"apcontinue":apcontinue})

for x in range(0, 1):
for x in range(0, 100):
params.update({"apcontinue":apcontinue})
resp = requests.get(url=api_url, params=params)
try:
Expand Down

0 comments on commit e6e4baa

Please sign in to comment.