Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Auto fetching new papers
Browse files Browse the repository at this point in the history
  • Loading branch information
rabdill committed Jan 18, 2019
1 parent 4dc4db0 commit 0cb3f65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spider/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ADD . /app
WORKDIR /app
RUN pip3 install -r requirements.txt

ENTRYPOINT ["python3", "/app/spider.py", "crossref"]
ENTRYPOINT ["python3", "/app/spider.py"]
8 changes: 4 additions & 4 deletions spider/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
}

# How much output to send to application logs
log_level = "debug"
log_level = "info"
# Whether to print messages to stdout
log_to_stdout = True
log_to_stdout = False
# Whether to record messages in a timestamped file
log_to_file = False
log_to_file = True

# how the web crawler should identify itself when sending http requests
# to sites such as bioRxiv and crossref
Expand Down Expand Up @@ -104,7 +104,7 @@
"events": "https://api.eventdata.crossref.org/v1/events"
},
"parameters": {
"email": "rxivist@YOUR_URL_HERE.edu" # an email address to attach to each Crossref call, per their request
"email": "rxivist@YOUR_URL_HERE.org" # an email address to attach to each Crossref call, per their request
}
}

Expand Down

0 comments on commit 0cb3f65

Please sign in to comment.