guoguo12 / billboard-charts

Python API for downloading Billboard charts.
https://pypi.python.org/pypi/billboard.py
MIT License
388 stars 116 forks source link

Throw exceptions for scraping errors #16

Open guoguo12 opened 7 years ago

guoguo12 commented 7 years ago

As suggested in #15, we should catch errors during the scraping process and wrap them in a new kind of exception. We can use the "spotify-rewind" playlist as a test.

guoguo12 commented 7 years ago

Update: the "spotify-rewind" chart no longer exists.

guoguo12 commented 6 years ago

Also, we should fail loudly when the chart downloaded has zero entries. See #23 for an example of when this would have helped.

guoguo12 commented 5 years ago

40 is related.