We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc8aff3 + 6ea68b9 commit 0c17f55Copy full SHA for 0c17f55
fetch_papers.py
@@ -38,7 +38,7 @@ def parse_arxiv_url(url):
38
we want to extract the raw id and the version
39
"""
40
ix = url.rfind('/')
41
- idversion = j['id'][ix+1:] # extract just the id (and the version)
+ idversion = url[ix+1:] # extract just the id (and the version)
42
parts = idversion.split('v')
43
assert len(parts) == 2, 'error parsing url ' + url
44
return parts[0], int(parts[1])
0 commit comments