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
andAPI_ID
- required byPyrogram
(more about that here)ENTRYPOINT_CHANNELS
- comma separated list of channels to begin search inMAX_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 details)
Built Distribution
File details
Details for the file telespider-0.2.4.tar.gz
.
File metadata
- Download URL: telespider-0.2.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c0d7ab80d4acf118f67560add8b633738c86fc3eab6569b697491985d2e435 |
|
MD5 | 45fe3fc8d4520c99a631bd6aee8b1419 |
|
BLAKE2b-256 | d33af4d2f56652e1cc9db5264ea06d7e7e357111fd18d078f19ae6fa81c7b0b5 |
File details
Details for the file telespider-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: telespider-0.2.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a682e18b32a85b85bda9d126aa08f1d6875af984acf7fa355f99bc4de944c18 |
|
MD5 | 92c31c141e13a5194dd39cd44ba59599 |
|
BLAKE2b-256 | 0d0cbdecc5a49b578e41ab2c358d2ed264db1b48480174a70fcff52c55e14c01 |