dssg / givinggraph

An API tool to help understand the relationships between non-profits, for-profits, and the causes they support.
https://github.com/dssg/givinggraph/wiki/API
MIT License
28 stars 13 forks source link

Problem running scrape_bloomberg_company_names.py #29

Closed Analect closed 10 years ago

Analect commented 10 years ago

Hi. I was trying to run this code (https://github.com/dssg/givinggraph/blob/master/givinggraph/companycause/scrape_bloomberg_company_names.py), but it only scrapes the first page '0-9'. I've played around to try to get it working, but I'm not adept enough at BeautifulSoup. Any pointers on how I might fix it would be great. Thanks.

atqamar commented 10 years ago

Hi, if you try now, it should work. The issue was that in commit # 6fb0c47272045405b902e43bf63fc9039ed9bc1c the automatic pep-8 conformation introduced an additional indentations forcing an important part of the code to fall into an "except:" clause.

Analect commented 10 years ago

@atqamar ... thanks for that. I probably should have figured that one out myself! Seems to be working OK now ... was looking through your project .. is it still on-going?

atqamar commented 10 years ago

@Analect : No active work is being done ATM by the team that initially contributed to this project. This was pro-bono technical consulting work done by Data Science for Social Good in partnership with The Case Foundation, and the project is currently under their supervision. If you are interested, feel free to reach out to either organization.