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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: telespider-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d226823118a4b3fcddc618d1ee613994b458864dbeed531ce3ef3b00801ad7aa
MD5 bd82a9c26afaca8471f7e532e47c8f3e
BLAKE2b-256 b6de1f9c68744dc16d6335d97252fcdf2381ab1406877226a7dc8f0c58c2ce22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: telespider-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28827e1595a0a78e747b7423ced72ba2326c82eb89970667bbf41cb07faddf4d
MD5 81799bacaa5588c798a30e2f1f666f06
BLAKE2b-256 3726fa65873f3960d6c9f39964cb2cf41ef4d8dafca2f69428a299bb04118b49

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