Skip to content

codercurious/telegram-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Telegram scraper and adder

Interested in using this scraper? Get it here: Telegram scraper and adder

Features

➡️ Scrape and export telegram channel or group messages

➡️ Scrape any telegram group members

➡️ Add any telegram group members to your own group

➡️ Use random delay and scheduling to safely grow your group day by day

https://youtu.be/j_vSazbotQ8

Getting started

➡️ Click on 'Try for free' button

➡️ Go to 'Input' tab and select action you want to perform

➡️ Go to web.telegram.org and copy the group URL you want to use

➡️ Paste them in the 'Scrape group URL' input field

➡️ If you want to add members to your group, then insert your group's URL in the 'Add to group URL' field

➡️ Click on 'Save and start' button

The following steps required only for first time:

➡️ Go to 'Live view' tab to scan the QR code to authenticate the actor with telegram (This step is only one time)

➡️ Open telegram app on your device.

➡️ Go to Telegram menu -> Settings -> Devices and click on 'Add device' button and scan the QR code

➡️ Copy the auth code to use it in future runs by filling 'Auth code'. If you pass auth token, you can avoid scanning QR code

✳️ You might be interested in: Whatsapp scraper | Discord scraper | Facebook group members scraper | Other useful scrapers

How to get group URL

Telegram group member scraper and auto adder - how to get group url

Integrations

You can use Make to integrate telegram scraper data to any other SaaS platform by designing your own automation flows.

Group members output

{
	"flags": 33554543,
	"self": false,
	"contact": false,
	"mutualContact": false,
	"deleted": false,
	"bot": false,
	"botChatHistory": false,
	"botNochats": false,
	"verified": false,
	"restricted": false,
	"min": false,
	"botInlineGeo": false,
	"support": false,
	"scam": false,
	"applyMinPhoto": true,
	"fake": false,
	"botAttachMenu": false,
	"premium": false,
	"attachMenuEnabled": false,
	"flags2": 0,
	"botCanEdit": false,
	"id": "202577853",
	"accessHash": "-2127225199806290195",
	"firstName": "Pavel",
	"lastName": "Tsyganov",
	"username": "Tsyganov_pro",
	"phone": null,
	"photo": {
		"flags": 2,
		"hasVideo": false,
		"personal": false,
		"photoId": "870065253985134518",
		"strippedThumb": {
			"type": "Buffer",
			"data": [
				"<... buffer data ...>"
			]
		},
		"dcId": 2,
		"className": "UserProfilePhoto"
	},
	"status": {
		"className": "UserStatusRecently"
	},
	"botInfoVersion": null,
	"restrictionReason": null,
	"botInlinePlaceholder": null,
	"langCode": null,
	"emojiStatus": null,
	"usernames": null,
	"className": "User"
}

Group messages output

{
	"flags": 11567744,
	"out": false,
	"mentioned": false,
	"mediaUnread": false,
	"silent": false,
	"post": false,
	"fromScheduled": false,
	"legacy": false,
	"editHide": true,
	"pinned": false,
	"noforwards": false,
	"id": 1677520,
	"fromId": null,
	"peerId": {
		"channelId": "1159345367",
		"className": "PeerChannel"
	},
	"fwdFrom": null,
	"viaBotId": null,
	"replyTo": null,
	"date": 1689899815,
	"message": "Sign up using code BITBOY and receive a 200% bonus on your first deposit up to $1,000💰 \n\nstake.com/?c=BitBoy",
	"media": {
		"flags": 1,
		"spoiler": false,
		"photo": {
			"flags": 0,
			"hasStickers": false,
			"id": "5030599717138049863",
			"accessHash": "-9016904732152496874",
			"fileReference": {
				"type": "Buffer",
				"data": [
					"<... buffer data ...>"
				]
			},
			"date": 1689899815,
			"sizes": [
				{
					"type": "i",
					"bytes": {
						"type": "Buffer",
						"data": [
							"<... buffer data ...>"
						]
					},
					"className": "PhotoStrippedSize"
				},
				{
					"type": "m",
					"w": 240,
					"h": 320,
					"size": 17007,
					"className": "PhotoSize"
				},
				{
					"type": "x",
					"w": 599,
					"h": 800,
					"size": 65548,
					"className": "PhotoSize"
				},
				{
					"type": "y",
					"w": 958,
					"h": 1280,
					"sizes": [
						8335,
						20682,
						35329,
						50297,
						82454
					],
					"className": "PhotoSizeProgressive"
				}
			],
			"videoSizes": null,
			"dcId": 1,
			"className": "Photo"
		},
		"ttlSeconds": null,
		"className": "MessageMediaPhoto"
	},
	"replyMarkup": null,
	"entities": [
		{
			"offset": 90,
			"length": 19,
			"className": "MessageEntityUrl"
		}
	],
	"views": null,
	"forwards": null,
	"replies": {
		"flags": 0,
		"comments": false,
		"replies": 0,
		"repliesPts": 2660889,
		"recentRepliers": null,
		"channelId": null,
		"maxId": null,
		"readMaxId": null,
		"className": "MessageReplies"
	},
	"editDate": 1689923336,
	"postAuthor": null,
	"groupedId": null,
	"reactions": {
		"flags": 6,
		"min": false,
		"canSeeList": true,
		"results": [
			{
				"flags": 0,
				"chosenOrder": null,
				"reaction": {
					"emoticon": "👍",
					"className": "ReactionEmoji"
				},
				"count": 1,
				"className": "ReactionCount"
			}
		],
		"recentReactions": [
			{
				"flags": 0,
				"big": false,
				"unread": false,
				"peerId": {
					"userId": "6199150375",
					"className": "PeerUser"
				},
				"date": 1689923336,
				"reaction": {
					"emoticon": "👍",
					"className": "ReactionEmoji"
				},
				"className": "MessagePeerReaction"
			}
		],
		"className": "MessageReactions"
	},
	"restrictionReason": null,
	"ttlPeriod": null,
	"className": "Message"
}

Auto adder

Once you run the telegram auto adder feature, you will start seeing members getting added to your group as shown in the screenshot

Telegram auto adder result