[小技巧]如何下载电报频道里不能保存,也不能转发的影片?

date
Dec 28, 2023
slug
tip-telegram-download-videos-not-forwardable
status
Published
summary
小技巧
tags
tip
type
Post
URL

Problem & Summary

  • 缓存目录里应该有,要么试试用安卓第三方客户端 plus messager
  • 看一遍等缓存好了,去目录 (可以用samsung smart或者华为hisuite)/sdcard/Android/data/org.telegram.messenger/files/Telegram/

Solution

    notion image

    git

    # install
    curl -sSL https://docs.iyear.me/tdl/install.sh | sudo bash
    # 自动补全
    echo "source <(tdl completion zsh)" >> ~/.zshrc
    
    
    
    # download telegram desktop from official web
    # https://desktop.telegram.org/
    
    # login 
    tdl login
    # tdl login -p YOUR_PASSCODE
    
    # download to ./downloads/
    tdl dl --proxy http://localhost:17890 -u https://t.me/c/1476985819/4009705
    
    
    
    # make sure you are in the channel/group
    # copy the link by right click
    # 使用每个任务8个线程,512KiB(最大)的分块大小,4个并发任务下载:
    # alias tg-download='tdl -t 8 -s 524288 -l 4 --proxy http://localhost:17890 dl -u '
    cd ~/Downloads/_sync_download/_telegram/_tdl-cmd
    tg-download https://t.me/c/1476985819/4009705
    notion image
     

    © Ying Bun 2021 - 2024