Comments (5)
Sorry for the late response, it's Christmas haha. This would be great, looking forward to the pull request! The edge cases for our testing suite would be welcome also.
from newspaper.
Hey, if you are still thinking about adding this change, can you hold off for 2 days. I'm about to make another large revamp on the library (internationalization and API).
But after it is done, this change is greatly needed. I have been seeing some cases for foreign languages especially where relying on .text gives a wrong output.
from newspaper.
Cool, I actually have been testing out my changes to the get_html function but haven't commited them yet. I'm still deciding how to deal with some weird cases.
from newspaper.
BS4 and/or UnicodeDammit would be an excellent solution for this.
from newspaper.
Closing, refer to this related BeautifulSoup4 issue which handles this issue for us:
#44
from newspaper.
Related Issues (20)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newspaper.