Closed CodeInFilth closed 2 years ago
update 2/12/2020
still getting error @guanquann :o(
scheduled_tasks_1 | Traceback (most recent call last):
scheduled_tasks_1 | File "tasks_to_run.py", line 142, in <module>
scheduled_tasks_1 | scrape_reddit_crypto.main()
scheduled_tasks_1 | File "/code/scheduled_tasks/reddit/crypto/scrape_trending_posts.py", line 238, in main
scheduled_tasks_1 | stats_table = get_financial_data(stats_table, crypto_id, symbol)
scheduled_tasks_1 | File "/code/scheduled_tasks/reddit/crypto/scrape_trending_posts.py", line 154, in get_financial_data
scheduled_tasks_1 | current_price = market_data["current_price"]["usd"]
scheduled_tasks_1 | KeyError: 'usd'
Fixed in the latest commit ✅
I cant figure this error out.... its popping up no matter what I try and do so I may not understand the json or query.