{"id":19530405,"url":"https://github.com/obaskly/telegram-scraper","last_synced_at":"2026-05-14T23:03:29.039Z","repository":{"id":159063694,"uuid":"634399649","full_name":"obaskly/Telegram-Scraper","owner":"obaskly","description":"A script that scrapes messages of a specific user from a telegram group chat","archived":false,"fork":false,"pushed_at":"2023-04-30T02:46:39.000Z","size":207,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T16:30:31.668Z","etag":null,"topics":["api","bot","python","python3","scraper","scraping","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obaskly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-30T01:45:14.000Z","updated_at":"2024-08-27T11:08:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7ad7c99-ad98-45bf-810a-aa40b4597216","html_url":"https://github.com/obaskly/Telegram-Scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaskly%2FTelegram-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaskly%2FTelegram-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaskly%2FTelegram-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaskly%2FTelegram-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obaskly","download_url":"https://codeload.github.com/obaskly/Telegram-Scraper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240783108,"owners_count":19856776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bot","python","python3","scraper","scraping","telegram","telegram-bot"],"created_at":"2024-11-11T01:31:56.080Z","updated_at":"2025-09-20T03:26:54.145Z","avatar_url":"https://github.com/obaskly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"sth.png\" width=\"300\"\u003e\n  \u003cbr\u003e\n  AH-Scraper\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e:) \u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/os-windows-blue.svg?maxAge=2592000\u0026amp;style=flat\"\n         \u003e\n  \u003c/a\u003e\n  \u003ca href=\"\"\u003e\u003cimg src=\"https://img.shields.io/badge/version-1.0-red.svg?maxAge=2592000\u0026amp;style=flat\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#Requirements\"\u003eRequirements\u003c/a\u003e •\n  \u003ca href=\"#Copyright\"\u003eCopyright\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Key Features\n\n* Get messages of a specific user\n* No need for bots\n\n## How To Use\n\n1. Log in to your Telegram core: https://my.telegram.org.\n\n2. Go to \"API development tools\" and fill out the form.\n\n3. You will get basic addresses as well as the api_id and api_hash parameters required for user authorization.\n\n4. Put your api_id and api_hash in the script\n\n5. Put your number in international format\n\n6. Run script using the following command\n\n  `python main.py -u USER_ID -o OUTPUT_FILENAME.txt`\n\n  It will ask you for a code, you will receive that code in your telegram, copy paste the code, enter your telegram password, and you are ready to use the script.\n\n  Go to a group and send the command `/scrape`, the script will get all the messages of that user and store them to a text file.\n\n## Requirements\n\n`pip install telethon colorama`\n\n\u003e **Note**\n\u003e Don't delete the `anon.session` file so that you don't have to enter the verification code and your password every time you run the script\n\n\u003e Don't use your main account (If you don't have an extra account, don't use your main account a lot because there is a risk of getting a ban)\n\n## Copyright\n\nAll rights reserved to Bropocalypse Team.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobaskly%2Ftelegram-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobaskly%2Ftelegram-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobaskly%2Ftelegram-scraper/lists"}