Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart Data Error #83

Open
nbartone opened this issue May 20, 2021 · 1 comment
Open

Chart Data Error #83

nbartone opened this issue May 20, 2021 · 1 comment

Comments

@nbartone
Copy link

nbartone commented May 20, 2021

I've been using this code with no issues until recently. When I run the ChartData function I get the error below:

`import pandas as pd
import numpy as np
import billboard
import time
import datetime

today = datetime.datetime.now()

artists = []
songs = []
dates = []
positions = []
chart = billboard.ChartData('billboard-200')
KeyError: 'data-previous-chart-date'`

Even when I include a date, the same error occurs:

>>> chart = billboard.ChartData('billboard-200','2019-01-07') KeyError: 'data-previous-chart-date'

`

@YashMakan
Copy link

The code is working for me... What version of the billboard module you are using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants