-
Notifications
You must be signed in to change notification settings - Fork 6
/
pubConfExample
38 lines (29 loc) · 1.32 KB
/
pubConfExample
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
# Your email address. Make sure you set this
email = "[email protected]"
# The user agent used. You're nice and show that you
# are using a crawler to the publisher's webservers
httpUserAgent = 'pubCrawl2 (contact: %s)' % email
# Your University's SFX server. Used to find fulltext, when
# Pubmed doesn't have a link
# Search your University's webpage for "SFX" or contact your
# trusted librarian
# crawlSfxServer = "http://sfx.stanford.edu/local"
# Your Elsevier API key
# You should get one from https://dev.elsevier.com/text_mining.html
# for most crawling projects, this is important
# If this is None, pubCrawl2 will try to download papers anyways,
# but this may fail after a while and you will not get more than
# the main text as html and the supplement.
elsevierApiKey="abc123abc123"
# the URL for pubGetElsevier, only for users with consyn access
# most users don't need this
# consynRssUrl = "https://consyn.elsevier.com/batch/atom?key=XXXXXXXXXX"
# Paths: Remember if running via docker these should be paths within
# the temporary directory
TEMPDIR = "/tmp/"
# Location of external tools, see pubConf.py for list of tools
extToolDir = "/opt"
# If you use a proxy server to get fulltext access, enter it here
# httpProxy="http://myserver.com:8888"
# Where static data files (ie hg19.fa) will be.
staticDataDir="/references"