Giter VIP home page Giter VIP logo

scripts's Introduction

Scripts

一些实用小脚本的集合,不定期更新~

下载telegram频道中的图片

  • 链接:download-telegram-channel-pictures.py

  • 环境: python3

  • 依赖: Telethon

    • 如果需要通过代理连接到telegram的话: aiohttp_socks (Python version>=3.6), PySocks (<=3.5)
  • 使用方法:

  1. my.telegram.org/apps拿到你的api-id以及api-hash
  2. 将一些变量替换成你需要的值
  3. 运行
  • 注意事项:首次运行脚本需要输入tg所绑定的手机号和验证码,然后telethon才能以你的身份登录去下载图片
  • 其他说明:关于Telethon的文档在这里

删除指定文件夹下的重复文件

  • 链接:delete-duplicate-files.rb
  • 环境:ruby2.6.2
  • 使用方法:将文件中“指定文件夹”替换为需要的值,然后ruby delete-duplicate-files.rb运行。

待更新……

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.