guoguo12/billboard-charts

Chart Data Error

Opened this issue · 1 comments

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'

`

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