Skip to content

Releases: extractus/article-extractor

v6.0.0rc2

14 Feb 13:45
Compare
Choose a tag to compare

v6.0.0rc1

13 Feb 05:52
Compare
Choose a tag to compare
  • Change to es6 module standard

Be careful to upgrade, this version may break your program. Please look at README (belonging to branch es6-module-format)

v5.0.4

13 Feb 04:38
684558b
Compare
Choose a tag to compare
  • Merge pr #215 & #216 by @SettingDust
    • Replace jsdom with linkedom
    • Improve typescrypt declaration
  • Update dependencies

v5.0.3

19 Jan 04:24
88189c9
Compare
Choose a tag to compare

v5.0.2

09 Jan 04:05
Compare
Choose a tag to compare
  • Allow more tags/attributes while sanitizing HTML content
  • Update default parser rules
  • Update dependencies
  • Update demo links

v5.0.1

25 Dec 10:13
adbef9e
Compare
Choose a tag to compare
  • Allow to transform article content from rules
  • Ensure finding correct rule with multi url patterns

v5.0.0

23 Dec 03:18
9341737
Compare
Choose a tag to compare
  • Change parser engine to @mozilla/readability
  • Add method addQueryRules()
  • Replace got with axios
  • Fix all opened issues
  • No longer support node older than v14
  • No longer extracting oembed data
  • No longer extracting with rule by default, let's addQueryRules() by yourself!

APIs breaking changes

  • setFetchOptions(Object opts) --> setRequestOptions(Object opts)
  • getFetchOptions() --> getRequestOptions() (default options changed)
  • addQueryRules(): newly added

v5.0.0rc6

17 Dec 15:14
491978f
Compare
Choose a tag to compare
  • Simplify extract() method, now it accepts only one parameter. Please use addQueryRules() to specify custom selector.

v5.0.0rc5

17 Dec 14:59
2de1d98
Compare
Choose a tag to compare

v5.0.0rc4

15 Dec 10:00
6146833
Compare
Choose a tag to compare
  • Refactor main workflow
  • No longer extracting oembed data
  • No longer extracting with selector rule by default, let's call it when needed!
  • Stop using lru-cache
  • Change a few default config values
  • Replace got with axios
  • Update README & test scripts

Breaking changes

  • extract(String url | String html) --> extract(String url | String html [, querySelector])
  • setFetchOptions(Object opts) --> setRequestOptions(Object opts)
  • getFetchOptions() --> getRequestOptions()