-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
16 lines (11 loc) · 895 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from datetime import datetime, timedelta
# Authentication for user filing issue (must have read/write access to repository to add issue to)
USERNAME = "mismayil"
# The repository to add this issue to
REPO_OWNER = "mismayil"
REPO_NAME = "daily-arxiv-digest"
from_date = (datetime.now() - timedelta(days=1)).strftime("%Y-%m-%d")
# Set submission url(s) of subject
SEARCH_URLS = [f"https://arxiv.org/search/advanced?advanced=&terms-0-operator=AND&terms-0-term=creative&terms-0-field=all&terms-1-operator=OR&terms-1-term=creativity&terms-1-field=all&classification-computer_science=y&classification-physics_archives=all&classification-include_cross_list=include&date-year=&date-filter_by=date_range&date-from_date={from_date}&date-to_date=&date-date_type=submitted_date&abstracts=show&size=200&order=-announced_date_first"]
KEYWORDS = ["creativity", "creative"]
SLACK_CHANNEL_ID = "C082FEKK788"