-
Notifications
You must be signed in to change notification settings - Fork 45
/
README
executable file
·136 lines (80 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
SciHub to PDF(Beta)
===================
Description
-----------
scihub2pdf is a module of
`bibcure <https://github.com/bibcure/bibcure>`__
Downloads pdfs via a DOI number, article title or a bibtex file, using
the database of libgen, Sci-Hub and Arxiv.
Install
-------
::
$ sudo python /usr/bin/pip install scihub2pdf
If you want to download files from scihub you will need to get PhantomJS
OSX
~~~
::
$ npm install -g phantomjs
Linux Using npm
~~~~~~~~~~~~~~~
::
$ sudo apt-get install npm
$ sudo npm install -g phantomjs
Features and how to use
-----------------------
Given a bibtex file
::
$ scihub2pdf -i input.bib
Given a DOI number...
::
$ scihub2pdf 10.1038/s41524-017-0032-0
Given a title...
::
$ scihub2pdf --title An useful paper
Arxiv...
::
$ scihub2pdf arxiv:0901.2686
$ scihub2pdf --title arxiv:Periodic table for topological insulators
Location folder as argument
::
$ scihub2pdf -i input.bib -l somefoler/
Use libgen instead sci-hub
::
$ scihub2pdf -i input.bib --uselibgen
Sci-hub:
--------
- Stable
- Annoying CAPTCHA
- Fast
Libgen
------
- Unstalbe
- No CAPTCHA
- Slow
Download from list of items
---------------------------
Given a text file like
::
10.1038/s41524-017-0032-0
10.1063/1.3149495
.....
download all pdf's
::
$ scihub2pdf -i dois.txt --txt
Given a text file like
::
Some Title 1
Some Title 2
.....
download all pdf's
::
$ scihub2pdf -i titles.txt --txt --title
Given a text file like
::
arXiv:1708.06891
arXiv:1708.06071
arXiv:1708.05948
.....
download all pdf's
::
$ scihub2pdf -i arxiv_ids.txt --txt