newspaper4k-python-article-extraction-nlp
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "newspaper4k-python-article-extraction-nlp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-691ae46cdf688e384187e43147b22e4e7dac6466bc37ae7389751144976da104. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/newspaper4k-python-article-extraction-nlp before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Description for Newspaper4k Python article extraction and NLP tool. Newspaper4k is an actively maintained fork of Newspaper3k, used to extract articles, titles, images, authors, and metadata from news websites, and includes built-in NLP capabilities for keyword extraction and text summarization.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Newspaper4k Python 文章提取和 NLP 库"
slug: "newspaper4k-python-article-extraction-nlp"
version: "1.0.0"
displayName: "Newspaper4k Python 文章提取和 NLP 库"
summary: "Newspaper4k 是流行的 Newspaper3k Python 库的活跃维护分支。它从新闻网站中提取文章、标题、图片、作者和元数据,并内置 NLP 功能用于关键词提取和文本摘要。"
license: "MIT"
description: "Newspaper4k 是流行的 Newspaper3k Python 库的活跃维护分支。它从新闻网站中提取文章、标题、图片、作者和元数据,并内置 NLP 功能用于关键词提取和文本摘要。"
github_stars: 1085
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Research & Scraping"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 1085Newspaper4k Python 文章提取和 NLP 库
Newspaper4k is an actively maintained fork of the popular Newspaper3k library for Python. It extracts articles, titles, images, authors, and metadata from news websites, with built-in NLP for keyword extraction and text summarization.
Installation
Use the upstream install or setup path that matches your environment:
- pip install newspaper4k
- pip install newspaper4k[gnews]
- brew install libxml2 libxslt
- brew install libtiff libjpeg webp little-cms2
Requirements and caveats from upstream:
-
Python compatibility
- Python 3.10+ minimum
- python -m newspaper --url="https://edition.cnn.com/2023/11/17/success/job-seekers-use-ai/index.html" --language=en --output-format=json --output-file=article.json
Basic usage or getting-started notes:
-
bash
-
Using the CLI
-
You can start directly from the command line, using the included CLI:
-
Extracted from upstream docs: https://raw.githubusercontent.com/AndyTheFactory/newspaper4k/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供新闻文章提取与 NLP 功能,满足信息聚合与研究需求
- 基于活跃维护的 Newspaper3k 分支,具备一定技术可靠性
Areas to improve
-
触发词不全 Reported severity: Minor
description 描述了核心功能,但未明确说明触发条件(如用户需输入 URL、指定语言等),也未覆盖多种变体或边界场景。
Recommendation: 补充触发条件说明,例如“当用户需要从新闻网站 URL 提取文章内容、作者、图片或生成摘要时触发”,并增加多语言、多格式输出等变体描述。
Areas to improve
-
缺少示例章节 Reported severity: Minor
文档包含 Installation 和 Basic usage 章节,提及 CLI 用法,但无清晰 Phase/步骤划分,无具体参数说明,无端到端完整示例。
Recommendation: 增加“使用示例”章节,提供从输入 URL 到输出 JSON 的完整 CLI 调用示例,并分步骤说明参数含义与可选配置。
Areas to improve
-
异常未覆盖 Reported severity: Minor
提及 pip install 和 brew install 命令,但未说明异常处理(如网络错误、解析失败),未覆盖主要异常场景。
Recommendation: 补充常见异常处理说明,例如网络超时、网页解析失败、编码错误等情况的应对策略,提升执行可靠性。
Highlights
- 工具来源(GitHub 地址)明确,便于用户验证与溯源
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 26, 27, 28, 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- edition.cnn.com
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.