← スキル一覧に戻る

scraping-reddit
by TheeCoderAhmed
⭐ 0🍴 0📅 2026年1月20日
SKILL.md
name: scraping-reddit description: Scrapes top posts from specified subreddits using the Reddit JSON API. Use when the user needs to fetch post titles and links from Reddit without authentication.
Reddit Scraping Skill
When to use this skill
- When the user wants to list top posts from a specific subreddit (e.g., "Get top posts from r/n8n").
- When the user needs a quick, unauthenticated way to check Reddit content.
- When expanding this functionality to other scraping tasks.
Workflow
- Verify Dependencies: Ensure
requestsis installed or create a virtual environment. - Execute Scraper: Run the provided python script, passing the subreddit name as an argument.
- Process Output: The script prints to stdout; output can be piped or captured.
Instructions
1. Setup Environment
To avoid system package conflicts, prefer running this in a virtual environment if one doesn't exist.
cd .agent/skills/scraping-reddit/scripts
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
2. Run the Scraper
The script accepts one optional argument: the subreddit name.
Syntax:
python3 scraper.py [subreddit_name]
Examples:
# Default (r/n8n)
python3 scraper.py
# Custom subreddit (r/python)
python3 scraper.py python
3. Modifying the Logic
If you need to change the limit (default 3) or extraction logic, edit scripts/scraper.py.
Resources
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です