This commit is contained in:
parent
e3b23637a0
commit
95826b4a3d
|
@ -11,6 +11,7 @@ import bs4
|
||||||
import personal_data.html_util
|
import personal_data.html_util
|
||||||
import personal_data.parse_util
|
import personal_data.parse_util
|
||||||
from personal_data.data import DeduplicateMode, Scraper
|
from personal_data.data import DeduplicateMode, Scraper
|
||||||
|
from .. import secrets
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -54,7 +55,7 @@ class MpcBalance(Scraper):
|
||||||
return json_data['coins']['coins']
|
return json_data['coins']['coins']
|
||||||
|
|
||||||
def scrape(self):
|
def scrape(self):
|
||||||
address = '0019e9a28c978dd65114cc4e0bcb876770805b0349' # TODO
|
address = secrets.PBC_ACCOUNT_ADDRESS
|
||||||
coins = self.determine_coins()
|
coins = self.determine_coins()
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
|
|
@ -27,8 +27,10 @@ CRUNCHYROLL_AUTH =load_secret('CRUNCHYROLL_AUTH')
|
||||||
# FFXIV
|
# FFXIV
|
||||||
FFXIV_CHARACTER_ID = load_secret('FFXIV_CHARACTER_ID')
|
FFXIV_CHARACTER_ID = load_secret('FFXIV_CHARACTER_ID')
|
||||||
|
|
||||||
|
# Partisia Blockchain
|
||||||
|
PBC_ACCOUNT_ADDRESS = load_secret('PBC_ACCOUNT_ADDRESS')
|
||||||
|
|
||||||
# Email configuration
|
# Email configuration
|
||||||
MAILGUN_API_KEY = load_secret('MAILGUN_API_KEY')
|
MAILGUN_API_KEY = load_secret('MAILGUN_API_KEY')
|
||||||
MAILGUN_DOMAIN = load_secret('MAILGUN_DOMAIN')
|
MAILGUN_DOMAIN = load_secret('MAILGUN_DOMAIN')
|
||||||
MAILGUN_RECIPIENT = load_secret('MAILGUN_RECIPIENT')
|
MAILGUN_RECIPIENT = load_secret('MAILGUN_RECIPIENT')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user