api_scrape_channel
Extract and process Telegram channel data using API methods, enabling targeted scraping by URL, post count, and date range for efficient content analysis.
Instructions
Scrape a Telegram channel using the API (fast and efficient)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date_from | No | Start date in ISO format (optional) | |
date_to | No | End date in ISO format (optional) | |
max_posts | No | Maximum number of posts to scrape (0 for unlimited) | |
url | Yes | The Telegram channel URL (e.g., https://t.me/channelname) |
Input Schema (JSON Schema)
{
"properties": {
"date_from": {
"description": "Start date in ISO format (optional)",
"type": "string"
},
"date_to": {
"description": "End date in ISO format (optional)",
"type": "string"
},
"max_posts": {
"default": 0,
"description": "Maximum number of posts to scrape (0 for unlimited)",
"type": "number"
},
"url": {
"description": "The Telegram channel URL (e.g., https://t.me/channelname)",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}