Skip to content

gidzel/telegram-scrape-sqlite

Repository files navigation

Telegram Scraper with SQLite

Scrape Telegram Groups and Channels into SQLite database

Usage

initial

the script

python ./scrape.py groups-and-channels.csv

  • groups-and-channels.csv is the CSV containing the groups and channels (result of Telegram Semiautomatic Search)

The script will ask for a session name and creates a directory with this name for the export. You can extend your dump at a later time by using the same session name. The script will request a verification code which will be sent to your Telegram client. It will also ask you to allow an export request in your Telegram client. It will then start looping through your groups and channels provided in the CSV file and copying group/channel information, content and group usernames into the designated database tables.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages