|
|
@ -127,6 +127,7 @@ function runReadability(source, destPath, metadataDestPath) {
|
|
|
|
var result = new Readability(uri, doc).parse();
|
|
|
|
var result = new Readability(uri, doc).parse();
|
|
|
|
} catch (ex) {
|
|
|
|
} catch (ex) {
|
|
|
|
console.error(ex);
|
|
|
|
console.error(ex);
|
|
|
|
|
|
|
|
ex.stack.forEach(console.log.bind(console));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!result) {
|
|
|
|
if (!result) {
|
|
|
|
console.error("No content generated by readability, not going to write expected.html!");
|
|
|
|
console.error("No content generated by readability, not going to write expected.html!");
|
|
|
|