Skip to content

Commit

Permalink
The string arxiv will be removed by arxivcheck module
Browse files Browse the repository at this point in the history
  • Loading branch information
devmessias committed Aug 24, 2017
1 parent 7a038a7 commit 1b03b02
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion scihub2pdf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = "0.3.0"
__version__ = "0.3.1"
1 change: 0 additions & 1 deletion scihub2pdf/scihub.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def download_from_title(title, location="", use_libgen=False):

def download_from_arxiv(value, field="id", location=""):
print("Downloading...", value)
value = re.sub("arxiv\:", "", value, flags=re.I)
found, pdf_link = get_arxiv_pdf_link(value, field)
if found and pdf_link is not None:
bib = {}
Expand Down
26 changes: 13 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
from setuptools import setup, find_packages

readme = open('README','r')
readme = open('README', 'r')
README_TEXT = readme.read()
readme.close()

setup(
name="scihub2pdf",
version="0.3.0",
packages = find_packages(exclude=["build",]),
version="0.3.1",
packages=find_packages(exclude=["build", ]),
scripts=["scihub2pdf/bin/scihub2pdf"],
long_description = README_TEXT,
install_requires = ["bibtexparser",
"title2bib",
"arxivcheck",
"future",
"Pillow",
"requests",
"lxml"],
long_description=README_TEXT,
install_requires=["bibtexparser",
"title2bib",
"arxivcheck",
"future",
"Pillow",
"requests",
"lxml"],
include_package_data=True,
license="GPLv3",
description="Downloads pdfs via a DOI number(or arxivId), article title or a bibtex file, sci-hub",
author="Bruno Messias",
author_email="[email protected]",
download_url="https://github.com/bibcure/scihub2pdf/archive/0.3.0.tar.gz",
keywords=["bibtex", "sci-hub", "libgen", "doi", "science","scientific-journals"],
download_url="https://github.com/bibcure/scihub2pdf/archive/0.3.1.tar.gz",
keywords=["bibtex", "sci-hub", "libgen", "doi", "science", "scientific-journals"],

classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
Expand Down

0 comments on commit 1b03b02

Please sign in to comment.