-
Notifications
You must be signed in to change notification settings - Fork 787
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
Add python 3 support #220
base: develop
Are you sure you want to change the base?
Add python 3 support #220
Conversation
…d install bs3 under py3
When we can expect that this will be merged? |
+1 for merging |
+1 |
ping @grangier |
Is there any problem with this PR? Can we help somehow or you are just ignoring it? |
@grangier +1 |
See https://github.com/vetal4444/python-goose/tree/python_3 grangier#220 Conflicts: goose/text.py
@@ -2,5 +2,6 @@ Pillow | |||
lxml | |||
cssselect | |||
jieba | |||
beautifulsoup | |||
beautifulsoup # Only on python2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so your code will not work in python 3?
@@ -2,5 +2,6 @@ Pillow | |||
lxml | |||
cssselect | |||
jieba | |||
beautifulsoup | |||
beautifulsoup # Only on python2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not working in python 3.5.4 as it does not support beautifulsoup. Even after changing the requires.txt with beautidulsoup4 the install didnt work. Attached error file
error_goose_extract.txt
Waiting for so long!!! |
@gaussic You actually wait for it? This project is 3 years dead. There is plethora of better solutions already, such as https://github.com/goose3/goose3 or https://github.com/codelucas/newspaper |
Thanks but newspaper doesn't work that well AFAIK |
Why are people still using beautiful soup in 2018? |
@hnykda Great, thanks man. By the way, @amirouche I'm still using BeautifulSoup 4 and it's easy to use. |
If you run goose under python bs3 parser will not be able to use.