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.0.tar.gz
(5.9 kB
view details)
Built Distribution
File details
Details for the file telespider-0.2.0.tar.gz
.
File metadata
- Download URL: telespider-0.2.0.tar.gz
- Upload date:
- Size: 5.9 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 | b142211271cbbe36ee4df116f14288ed22e2efc14cd93400e1b946f91478b6ad |
|
MD5 | 5e97548e7d0ea14b5df607b4837c4cba |
|
BLAKE2b-256 | 53836a314e6cf870b414b61f0b7d0eca91867e3c2c30fd97c137544e1a3ca283 |
File details
Details for the file telespider-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: telespider-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.0 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 | e315c1540d77a6a8955bbd621d0f4ef8591a8fa2b0332c2a9edcd2f18742e839 |
|
MD5 | 648c576d43ca184ec7ff42615532d307 |
|
BLAKE2b-256 | 6dfd38a323808f472060a5e6888c0e67609020cdb2f609ba13b6d1817b97f96d |