[go: nahoru, domu]

Skip to content

alejandrogallo/python-scihub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SciHub Python Build Status Pypi

scihub is an unofficial API for sci-hub.cc. scihub.py can download papers from sci-hub.

If you believe in open access to scientific papers, please donate to Sci-Hub.

Setup

pip install scihub

Usage

fetch

from scihub import SciHub

sh = SciHub()

# fetch specific article (don't download to disk)
# this will return a dictionary in the form
# {'pdf': PDF_DATA,
#  'url': SOURCE_URL
# }
result = sh.fetch('http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=1648853')

with open('output.pdf', 'wb+') as fd:
    fd.write(result['pdf'])

License

MIT

About

Python API and command-line tool for Sci-hub

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%