Skip to content
Back to skills

Telegram Scrape

ASecurity

Search Telegram channels, read posts, ad contacts

  • 121 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 5, 2026
ai-agentspythonbashapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add aAAaqwq/AGI-Super-Skills --skill telegram-scrape --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Telegram Scrape?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Telegram Scrape
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-telegram-scrape/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-telegram-scrape)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: telegram-scrape
description: Search Telegram channels, read posts, ad contacts
---
# Telegram Scrape

> Search channels, read messages, analyze ad contacts

## When to use

- "find AI channels on telegram"
- "show messages from a channel"
- "find ad contacts of channels"
- "where can I buy ads"
- "scraping telegram channels"

## Tool

`$TG_TOOLS_PATH/tools/tg_scrape.py`

## How to run

### Search channels by keywords

```bash
# Find channels with "ai" or "cursor" in the name
python3 $TG_TOOLS_PATH/tools/tg_scrape.py channels --keywords "ai,cursor"

# Save to CSV
python3 $TG_TOOLS_PATH/tools/tg_scrape.py channels --keywords "ai" --output channels.csv

# Save to JSON (more data: about, links)
python3 $TG_TOOLS_PATH/tools/tg_scrape.py channels --keywords "ai" --output channels.json

# With exclusions
python3 $TG_TOOLS_PATH/tools/tg_scrape.py channels --keywords "ai" --exclude "spam,nsfw"
```

Output: title, username, link, subscribers, ad_contacts, ad_links, about.

### Read channel/group messages

```bash
# Last 20 messages
python3 $TG_TOOLS_PATH/tools/tg_scrape.py messages "Channel Name" --limit 20

# From the last 7 days
python3 $TG_TOOLS_PATH/tools/tg_scrape.py messages "Channel Name" --days 7
```

Channel Name -- search by substring (case-insensitive).

### Search for ad contacts

```bash
python3 $TG_TOOLS_PATH/tools/tg_scrape.py ads --keywords "ai,cursor" --posts 10
```

Analyzes:
- Channel description (looks for @username, t.me/ links, words "ad", "ads", "price")
- Last N posts (keyword mentions)
- Calculates relevance score

Output (JSON stdout): title, username, subscribers, score, ad_contacts, keyword_mentions, sample_posts.

## Parameters

| Command | Parameter | Description |
|---------|-----------|-------------|
| `channels` | `--keywords, -k` | Keywords comma-separated |
| `channels` | `--exclude, -x` | Exclude (comma-separated) |
| `channels` | `--output, -o` | File (.csv or .json) |
| `messages` | `channel` | Channel/group name |
| `messages` | `--limit, -n` | Max messages (default: 20) |
| `messages` | `--days, -d` | Only from last N days |
| `ads` | `--keywords, -k` | Keywords (required) |
| `ads` | `--exclude, -x` | Exclude |
| `ads` | `--posts, -p` | Posts to analyze (default: 10) |

## Limitations

- Searches only among channels you are subscribed to
- GetFullChannelRequest has rate limits
- 0.2-0.3 sec delay between channels (automatic)

## Related skills

- `telegram-groups` -- group operations
- `telegram-send` -- sending messages (e.g. to advertisers)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.