hunterloftis / hunterloftis/summarize

unexpected results when trying to scrape page contents

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
42
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I'm trying to get a summary of some random content, but I'm always getting `ok: false` and no results.

> _Tuesday was the "official" opening night for the Progress, the long-awaited, much-anticipated sequel to State Bird Provisions. The Progress is directly next door to State Bird, a fact that becomes evident from within the Progress when the line for State Bird decides to extend southbound for an evening._

Here's my simple Node test case (using `"summarize": "1.5.0"`):

``` js
var summarize = require('summarize');

console.log(summarize("

\n

Tuesday was the \"official\" opening night for the Progress, the long-awaited, much-anticipated sequel to State Bird Provisions. The Progress is directly next door to State Bird, a fact that becomes evident from within the Progress when the line for State Bird decides to extend southbound for an evening.

\n
"));
```

And my output is:

```
$ node summary
{ ok: false,
sentiment: 0,
title: null,
topics: [],
words: 0,
difficulty: 0,
minutes: 0,
image: null }
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.