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.3.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file telespider-0.2.3.tar.gz
.
File metadata
- Download URL: telespider-0.2.3.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 | 6e8a3fab7e93b019eb2fdbb1915b156e57845e83bef616b0160d30e27638648c |
|
MD5 | 2db64d5cd7fc23441eda1c05f925b394 |
|
BLAKE2b-256 | 7b09879394cdcbe41b198c030e5a0722a5d80b20e321101a6c8b2308ce6fed59 |
File details
Details for the file telespider-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: telespider-0.2.3-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 | f3f34141b58ae72f3aeea2a35f462fee3638917935da3c65417737817b45d477 |
|
MD5 | e41dd7a76064618db27ea67786407d2c |
|
BLAKE2b-256 | ecce5df528dbb5d93aa4b976d02f78a2ae3ee92fbddb274a004c10e6c65ef03f |