diff --git a/scihub2pdf/__init__.py b/scihub2pdf/__init__.py index 8b34414..ba27911 100755 --- a/scihub2pdf/__init__.py +++ b/scihub2pdf/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/scihub2pdf/scihub.py b/scihub2pdf/scihub.py index d94cddb..ec65df2 100755 --- a/scihub2pdf/scihub.py +++ b/scihub2pdf/scihub.py @@ -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 = {} diff --git a/setup.py b/setup.py index 798f02f..5466dfa 100755 --- a/setup.py +++ b/setup.py @@ -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="messias.physics@gmail.com", - 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)",