forked from bdheath/Big-Cases
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
class settings: | ||
|
||
# Scrape settings | ||
multitask = False # Use multiprocessing for scraping RSS? | ||
multitask_threads = 5 | ||
http_timeout = 30.0 # How long to wait for http requests | ||
file_temp_path = '' # Set a temporary path for working with PDFs (i.e., /data/pacer) | ||
file_archive_path = '' # Set a folder to archive downloaded PDFs (i.e., /data/pacer/archive) | ||
max_files_to_scrape = 10 | ||
|
||
# Database settings (MySQL server) | ||
db_host = '' # MySQL host name | ||
db_user = '' # MySQL username | ||
db_pass = '' # MySQL password | ||
db_port = 3306 # MySQL port | ||
|
||
# PACER settings | ||
pacer_user = '' # PACER username | ||
pacer_pass = '' # PACER password | ||
pacer_client = '' # PACER client code | ||
pacer_max_price = 3.00 # Maximum amount to pay for PACER record | ||
|
||
# DocumentCloud credentials | ||
dc_user = '' # DocumentCloud username | ||
dc_pass = '' # DocumentCloud password | ||
dc_project_id = '' # Numeric ID of DocumentCloud project to which to post | ||
|
||
# Twitter credentials | ||
twitter_app_key = '' | ||
twitter_app_secret = '' | ||
twitter_oauth_key = '' | ||
twitter_oauth_secret = '' | ||
|