add authors extractor doc

This commit is contained in:
keepcosmos 2016-04-28 15:19:11 +09:00
parent 4aa8f6ecea
commit 2274b3d063
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,9 @@ defmodule Readability do
# Extract title
Readability.title(html)
# Extract authors.
Readability.authors(html)
# Extract only text from article
article = html
|> Readability.article