Skip to content
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

NLP Error #77

Open
Aeromancer opened this issue Sep 18, 2019 · 3 comments
Open

NLP Error #77

Aeromancer opened this issue Sep 18, 2019 · 3 comments

Comments

@Aeromancer
Copy link

The current version of nlp.py breaks on line 32 returning TypeError: 'NoneType' object is not callable.

I'm not sure if this is caused by a change in bs4 or something else.

@Aeromancer
Copy link
Author

I was able to get some help and the cause was a change to the website, the code should now read

content = soup.find('div', 'post-radar-content')

@joelgrus
Copy link
Owner

some day I'll learn my lesson about relying on the oreilly website not to change and break things ☹

@smithjackson35
Copy link

@Aeromancer you are the man!

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

3 participants