Skip to content

Commit

Permalink
changed the number of results to better match the actual situation
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamdam committed Mar 16, 2015
1 parent f370913 commit a0b245b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlibrary/plugins/upstream/data.py
Expand Up @@ -12,7 +12,7 @@ def wget(url):

def get_ol_dumps():
"""Get list of all archive.org items in the in the ol_exports collection uploaded of archive.org staff."""
url = 'http://www.archive.org/advancedsearch.php?q=(ol_dump+OR+ol_cdump)+AND+collection:ol_exports&fl[]=identifier&output=json&rows=100'
url = 'http://www.archive.org/advancedsearch.php?q=(ol_dump+OR+ol_cdump)+AND+collection:ol_exports&fl[]=identifier&output=json&rows=1000'

d = simplejson.loads(wget(url))
return sorted(doc['identifier'] for doc in d['response']['docs'])
Expand Down

0 comments on commit a0b245b

Please sign in to comment.