Skip to content

Commit

Permalink
fixed silly typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eddotman committed Jun 23, 2015
1 parent 9de5b8c commit 883a6c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion articledownloader/articledownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_dois_from_search(self, query, rows=500):
dois.append(item["DOI"])

else: #Need to split queries
for i in range(0,1000,rows):
for i in range(0,rows, 1000):
search_url = base_url + query + '&rows=' + str(min(rows - i, 1000)) + '&offset=' + str(i)
response = json.loads(requests.get(search_url, headers=self.headers).text)

Expand Down
Binary file added dist/articledownloader-2.2.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
setup(
name = 'articledownloader',
packages = ['articledownloader'], # this must be the same as the name above
version = '2.1',
version = '2.2',
description = 'A class for downloading scientific journal articles',
author = 'Edward Kim',
author_email = 'eddotman@gmail.com',
url = 'https://github.com/eddotman/article-downloader', # use the URL to the github repo
download_url = 'https://www.github.com/eddotman/article-downloader/tarball/2.1',
download_url = 'https://www.github.com/eddotman/article-downloader/tarball/2.2',
keywords = ['journal', 'paper', 'article', 'downloader'], # arbitrary keywords
)

0 comments on commit 883a6c3

Please sign in to comment.