Comments (12)
Hey, thanks for posting this! I can't reproduce this on my machine. Can I get some info on your OS and Python version, and also how you're running this? (Are you in IPython?)
from billboard-charts.
Sure thing:
OS: OSX 10.11.13
Python 3.4.4
The error occurs in both IPython and the REPL.
After some further inspection, it seems like this runs Python 2 under the hood – would a virtual environment help?
from billboard-charts.
Don't think so. It should work on either Python 2 or 3.
Can you access this page in your web browser?
from billboard-charts.
Not sure if you meant to link to
https://github.com/guoguo12/billboard-charts/issues/www.billboard.com/charts/hot-100#/charts/hot-100
or just
If the former, no. If the latter, yes.
from billboard-charts.
Oops... typo.
Hmm... I'm stumped. Try on a different computer? I'll let you know if I think of anything.
from billboard-charts.
On second thought, try installing via pip
instead of just cloning the repo. Maybe you have an unsupported version of BeautifulSoup or Requests.
from billboard-charts.
Any luck @dannyFig? :)
from billboard-charts.
Closing due to lack of response. Feel free to reopen if this happens again!
from billboard-charts.
Also having this issue @guoguo12...
I'm getting the same error trace as above, with the error message "TypeError: 'NoneType' object is not callable". Any suggestions?
Looks to me as though line 178 is causing the issue, likely because beautiful soup is finding nothing with the given selector:
selector = 'div.chart-row__' + rowName + ' .chart-row__value'
from billboard-charts.
@jackbeckwith are you installing billboard.py
from pip? I'm not able to reproduce the error on either python 2.7.12 or 3.5.2 (minimum-required requests/bs4 on python2 and latest on python3). If you've installed via pip
, maybe try upgrading bs4 and requests.
from billboard-charts.
Thanks @jameswenzel - issue is solved. For me, updating all packages worked.
python 2.7.10 -> python 2.7.12
bs4 4.3.2 -> bs4 4.4.1
requests 2.9.1 -> 2.10.0
from billboard-charts.
Interesting! I'll bump the version numbers of the dependencies up. Thanks, @jameswenzel and @jackbeckwith!
from billboard-charts.
Related Issues (20)
- Specify a year HOT 1
- image url not working? HOT 7
- Billboard 200 not returning any charts prior to 11/18/1989 HOT 3
- _parseNewStylePage fails bc of previousDate HOT 1
- API suddenly not work! HOT 3
- API doesnt work HOT 1
- Api problems HOT 3
- Charts relying on "old style" parsing missing previousDate & nextDate at extremes HOT 1
- Produces a 67 second delay every 24 requests. HOT 2
- Issue with old style? HOT 2
- Chart Data Error HOT 1
- unable to get image of track HOT 3
- Cannot fetch the Hot 100 chart HOT 3
- This API NOT WORK NOW! HOT 5
- List of Charts
- Do not working HOT 1
- Pulling charts by date returns empty!
- Previous date field is not filled HOT 3
- Not able to pull metadata for new TikTok charts HOT 2
- 2024 charts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from billboard-charts.