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

Uploaded Source

Built Distribution

telespider-0.1.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telespider-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 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.1.1.tar.gz
Algorithm Hash digest
SHA256 139064d7a47226807e737b1847b2b374bd3b2a1574c45e6ac889d4a82286c205
MD5 7bbf0e580df711ea9ede563d341a4889
BLAKE2b-256 40a9bd8f1972a668b56a4e0da7e3e72d95289a3c90b765415bf0151a7e960a3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: telespider-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2c68e14593afe4723c92d2036675779e0a603293522498382fffa18b07867ee
MD5 475b98e46402015b6eaaf518db104d23
BLAKE2b-256 11b6d90c7aef932734f197e487d2697de50953f2f5f69eca6e5e712b9d21be1a

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