Skip to content

List out of range #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
datatalking opened this issue Aug 10, 2021 · 2 comments
Open

List out of range #1

datatalking opened this issue Aug 10, 2021 · 2 comments

Comments

@datatalking
Copy link

datatalking commented Aug 10, 2021

@snehasinghania I enjoyed reading about your CrunchbaseWrapper and thought to give it a try.

Line 34, 53 and 98 generate a cascading index error.

Traceback (most recent call last):
  File "/Users/owner/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/193.7288.30/PyCharm.app/Contents/bin/owner/sbox/test/PycharmProjects/CrunchbaseWrapper/crunchbase.py", line 98, in <module>
    menu.get(choice, [None, sys.exit])[1]()
  File "/Users/owner/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/193.7288.30/PyCharm.app/Contents/bin/owner/sbox/test/PycharmProjects/CrunchbaseWrapper/crunchbase.py", line 53, in getInfo
    dict_item = self.extractFeatures(info)
  File "/Users/owner/Library/Application Support/JetBrains/Toolbox/apps/PyCharm-P/ch-0/193.7288.30/PyCharm.app/Contents/bin/owner/sbox/test/PycharmProjects/CrunchbaseWrapper/crunchbase.py", line 34, in extractFeatures
    properties = properties[0]
IndexError: list index out of range

I can dig into this deeper but wonder what work arounds this was due to updated in requestss?

@Thommy299
Copy link

I am having the same problems. Is there a fix already? Thanks!

@datatalking
Copy link
Author

The problem is there is nothing for it to index, its not finding data. Has the API or scrapper been depricated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants