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

Doesn't seem to work for sites that use <div> tags instead of <p> #60

Open
iannshan opened this issue Nov 3, 2016 · 2 comments
Open

Comments

@iannshan
Copy link

iannshan commented Nov 3, 2016

I tried this with a CNN.com article and it didn't work because they don't use paragraphs. Any suggestions for a work-around?

@ageitgey
Copy link
Owner

ageitgey commented Nov 3, 2016

What specific article?

@iannshan
Copy link
Author

iannshan commented Nov 3, 2016

This is the one I tried: http://cnn.com/2016/11/01/politics/hillary-clinton-2016-campaign/index.html

The output was just the first paragraph of the article, which actually is in a p tag unlike the rest of the article.

I tried a number of other sites including Medium, NBC News, and a few random blogs and they all worked great. When I inspected the article on CNN though I saw their use of div tags and figured that could be the problem.

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