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.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

telespider-0.2.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file telespider-0.2.1.tar.gz.

File metadata

  • Download URL: telespider-0.2.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for telespider-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6303955819ca04cd0a8e93bdcd77938f1e1d8a7a9446826941af4a510073e5c8
MD5 c3bf0904c23b6f045eabc3cd14728f2b
BLAKE2b-256 65da7359a9505558f48299073814fb210c90a21bae2642ddca1254b66e496106

See more details on using hashes here.

File details

Details for the file telespider-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: telespider-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.10.6 Linux/5.15.90.1-microsoft-standard-WSL2

File hashes

Hashes for telespider-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5fec786b4ebc8ab97818406a908cdb387d4962f97e47be9fbf1a22861777a045
MD5 efffa66a401f7b949634c2ce8e13ec7e
BLAKE2b-256 46bdc2650c0f669c7c32fab10c2df80d912d328aea502c22e78a4b6b6083f831

See more details on using hashes here.

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