Giter Club home page Giter Club logo

telethon_get_media's Introduction

telethon_get_media

功能

  • 1.下载 Telegram 历史Media [频道id里面有自己改一下]

  • 2.实时下载所有频道里面的 Media [自己加入的所有频道]

Env Python 3.6

  * telethon
  * socks
  * asyncio

说明

#1 https://my.telegram.org/auth 输入手机号申请 APIID

#2.直接把自己的API KEY 写入进去 运行程序会让你输入手机号,以及验证码。

#3.第一次需要输入手机号 停止后在启动不需要了就。

#4.纯属无聊。。。。。

Up

  • 添加了其他的脚本 来处理去重和统计(group by count)

  • 定时任务脚本

  • dingding 提示脚本

quick start

# modify 和 /volumeUSB1/usbshare 类似的目录


# 启动本身的程序
# Control + C 程序会自动杀掉 python 
./watch_dog.sh 
or
nohup ./watch_dog.sh &

# 停止服务 必须要用kill -15 因为用了 trap 捕捉到 15 才会去结束 main 和 task
ps -ef | grep 'watch_dog.sh' | awk '{print$2}'| xargs  kill -15 

telethon_get_media's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.