newspaper4k
and lxml_html_clean
libraries.
Parameter | Type | Default | Description |
---|---|---|---|
read_article | bool | True | Enables the functionality to read the full content of an article. |
include_summary | bool | False | Specifies whether to include a summary of the article along with the full content. |
article_length | int | - | The maximum length of the article or its summary to be processed or returned. |
Function | Description |
---|---|
get_article_data | This function reads the full content and data of an article. |
read_article | This function reads the full content of an article. |