/Telegram-Media-Downloader

A script allowing you to download images and videos from Telegram web even if the group restricts downloading.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Telegram Video Downloader / Telegram Media Downloader

Unlock Telegram: Download Anything You Like.

GitHub License Greasy Fork Version Greasy Fork Downloads

Overview

This user script unlocks and enables download of images, GIFs, audios, and videos in Telegram webapps from chats, stories, and even private channels where downloading is disabled or restricted.

(Note: some features are only available for specific Telegram webapp version. e.g. Audio message download is only available for the K webapp version.)

What are user scripts?

User scripts put you in control of your browsing experience. Once installed, they automatically make the sites you visit better by adding features, making them easier to use, or taking out the annoying bits. The user scripts on Greasy Fork were written by other users and posted to share with the world. They're free to install and easy to use.

Installation

Greasy Fork

  1. install a user script manager

    To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.

    (Note, If you are using Tampermonkey extension in a Chrome-based browser, following instructions to enable Developer Mode.)

  2. Install this script by visiting Greasy Fork: https://greasyfork.org/en/scripts/446342-telegram-media-downloader

Manual Installation

  1. install a user script manager

    To use user scripts you need to first install a user script manager. Which user script manager you can use depends on which browser you use.

    (Note, If you are using Tampermonkey extension in a Chrome-based browser, following instructions to enable Developer Mode.)

  2. Open Tampermonkey Dashboard, drag & drop src/tel_download.js into it and clicks the "install" button

How to Use

This script only works on Telegram Webapp.

For channels and chats that allow saving content, this script will have no effect. Please just use the official download button provided by the telegram webapp instead.

For channels and chats that disable downloading and restrict saving content, this script will add the download button back for images, GIFs and videos.

Image Download GIF Download Video Download Story Download

For videos, a progress bar will show on the bottom-right corder after you started downloading. For images and audios, there won't be a progress bar.

Supported Webapp Versions

There are 2 different versions of telegram webapps:

This script should work on both versions of webapp. If you are using another different version of webapp and find this script does not work, please raise an issue to our GitHub repo.

Check Downloading Progress

A progress bar will show on the bottom-right of the screen for videos. You can also check DevTools console for logs.

Support Author

If you like this script, you can support me via Venmo or buy me a coffee :)