1
0

Address has been made secret
Some checks failed
Python Package / Package (push) Failing after 24s

This commit is contained in:
Jon Michael Aanes 2024-04-17 00:48:21 +02:00
parent e3b23637a0
commit 95826b4a3d
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import bs4
import personal_data.html_util
import personal_data.parse_util
from personal_data.data import DeduplicateMode, Scraper
from .. import secrets
logger = logging.getLogger(__name__)
@ -54,7 +55,7 @@ class MpcBalance(Scraper):
return json_data['coins']['coins']
def scrape(self):
address = '0019e9a28c978dd65114cc4e0bcb876770805b0349' # TODO
address = secrets.PBC_ACCOUNT_ADDRESS
coins = self.determine_coins()
headers = {

View File

@ -27,8 +27,10 @@ CRUNCHYROLL_AUTH =load_secret('CRUNCHYROLL_AUTH')
# FFXIV
FFXIV_CHARACTER_ID = load_secret('FFXIV_CHARACTER_ID')
# Partisia Blockchain
PBC_ACCOUNT_ADDRESS = load_secret('PBC_ACCOUNT_ADDRESS')
# Email configuration
MAILGUN_API_KEY = load_secret('MAILGUN_API_KEY')
MAILGUN_DOMAIN = load_secret('MAILGUN_DOMAIN')
MAILGUN_RECIPIENT = load_secret('MAILGUN_RECIPIENT')