Comments (10)
http://bits.blogs.nytimes.com/2014/04/26/writing-in-a-nonstop-world
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Request.EventEmitter.addListener (events.js:160:15)
at Request.self._buildRequest (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:366:10)
at Request.init (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:503:10)
at Request.onResponse (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:899:10)
at ClientRequest.g (events.js:180:16)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1688:21)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
at Socket.socketOnData [as ondata] (http.js:1583:20)
at TCP.onread (net.js:527:27)
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Request.EventEmitter.addListener (events.js:160:15)
at Request.start (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:700:8)
at Request.end (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:1319:28)
at ~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:418:14
at process._tickCallback (node.js:415:13)
~/Desktop/temp2/node_modules/node-read/index.js:78
parseDOM(buffer.toString("utf8"), res);
^
TypeError: Cannot call method 'toString' of undefined
at Request._callback (~/Desktop/temp2/node_modules/node-read/index.js:78:23)
at self.callback (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:121:22)
at Request.EventEmitter.emit (events.js:95:17)
at Request.onResponse (~/Desktop/temp2/node_modules/node-read/node_modules/request/request.js:857:12)
at ClientRequest.g (events.js:180:16)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1688:21)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:121:23)
at Socket.socketOnData [as ondata] (http.js:1583:20)
at TCP.onread (net.js:527:27)
from node-read.
There's a bug with nytimes and request library.
request/request#311 (comment)
request/request#673
request/request#865
Not much I can do here.
from node-read.
Trailing white space in title from:
http://www.howiechong.com/journal/2014/2/bike-helmets
from node-read.
Thanks! Fixed that.
from node-read.
First of all, thanks for doing this! The jsdom one was way too slow for my purposes and I've become increasingly frustrated by it. The performance improvements are off the charts!
A couple minor issues popped up when I migrated to your version:
The h1 tag is coming back inside a p tag.
http://www.bbc.co.uk/sport/0/football/26060048
Also, In node-readability I believe these codes (& #8217; & #039; & quot; & #8220; & #8221;) were translated automatically. Up to you if you want to mimic that behaviour or not.
from node-read.
Thanks! I'll look into it.
from node-read.
Another issue I'm afraid...
http://www.bbc.co.uk/sport/0/football/29053651
The first sentence in the article is not included in the result.
from node-read.
Hello,
When I try the code with following article,
http://www.nbcnews.com/tech/mobile/facebook-lite-app-launched-tap-emerging-markets-n370481
I get this
has launched a stripped-down version of its app aimed at the huge potential user base in emerging markets.
The social media giant that it was testing the Android app in January, and was now rolling it out across countries in Asia, followed by parts of Latin America, Africa and Europe.
(and more...)Basically, its cleaning out anchor tags within main article.
from node-read.
A simple tag is not showing links when getting through article.content:
from node-read.
http://tech.sina.com.cn/t/2016-04-20/doc-ifxrpvcy4243221.shtml
error when handleing this link
from node-read.
Related Issues (11)
- Content not extracted correctly HOT 2
- main image,videos and favicon? HOT 2
- Could it read github readme? HOT 5
- Not getting article content HOT 3
- Many elements in article was cleaned
- Links inside article content removed
- Why not len=80 & What is the use of linkDensity
- Check the type of node, and get its Weight
- Error when doing require('node-read') HOT 17
- Many Title tag problem
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 node-read.