Skip to main content

recursively parsing tg channels

Project description

🕸️ Telegram scrapper

Simple package (+ CLI) for scrapping Telegram channel

Features

✔️ auto explore new channels
✔️ search text
✔️ search mentions

Usage

$ pip install telespider
$ tspider search -w "stonks" -n 100 # search word `stonks`
$ tspider search -u "andrewsap" -n 100 # search mentions of user `andrewsap`

Configuration

App uses this environment variables:

  • API_HASH and API_ID - required by Pyrogram (more about that here)
  • ENTRYPOINT_CHANNELS - comma separated list of channels to begin search in
  • MAX_PER_CHANNEL - max number of messages to parse from one channel (can be set with -n option from CLI)
  • AUTO_EXPLORE_CHANNELS - automatically explore new channels and add them to queue for parsing (can be set with --explore\--no-explore options in CLI)
  • SILENT - suppress all output

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telespider-0.2.4.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

telespider-0.2.4-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page