Git Product home page Git Product logo

Comments (2)

fhopp avatar fhopp commented on July 18, 2024 1

Not sure what happened there, but the current error looks like this:

chart = billboard.ChartData('artist-100')
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/anaconda3/envs/lyrics_analysis/lib/python3.6/site-packages/billboard.py in fetchEntries(self)
    166             try:
--> 167                 title = basicInfoSoup[1].string.strip()
    168             except:

AttributeError: 'NoneType' object has no attribute 'strip'

During handling of the above exception, another exception occurred:

BillboardParseException                   Traceback (most recent call last)
<ipython-input-40-137c54ce0515> in <module>()
----> 1 chart = billboard.ChartData('artist-100')

~/anaconda3/envs/lyrics_analysis/lib/python3.6/site-packages/billboard.py in __init__(self, name, date, fetch)
    106         self.entries = []
    107         if fetch:
--> 108             self.fetchEntries()
    109 
    110     def __repr__(self):

~/anaconda3/envs/lyrics_analysis/lib/python3.6/site-packages/billboard.py in fetchEntries(self)
    168             except:
    169                 message = "Failed to parse title"
--> 170                 raise BillboardParseException(message)
    171 
    172             try:

BillboardParseException: Failed to parse title
´´´

from billboard-charts.

laismota avatar laismota commented on July 18, 2024 1

Yes, the same error here. It would be great if it 'artist-100' was supported.

The error here is something like this:

Traceback (most recent call last):
  File "crawler_artists_hot100.py", line 7, in <module>
    chart = billboard.ChartData('artist-100', date="2017-10-21")
  File "/usr/local/lib/python2.7/dist-packages/billboard.py", line 108, in __init__
    self.fetchEntries()
  File "/usr/local/lib/python2.7/dist-packages/billboard.py", line 170, in fetchEntries
    raise BillboardParseException(message)
billboard.BillboardParseException: Failed to parse title

from billboard-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.