Coder Social home page Coder Social logo

terminus2049 / archivetelebot Goto Github PK

View Code? Open in Web Editor NEW
72.0 6.0 23.0 78 KB

a telegram bot that saves urls to archive.is & archive.org

Home Page: https://t.me/Archive_by_2049bbsBot

License: GNU General Public License v3.0

Python 81.00% R 19.00%
telegram-bot archiveis anticensorship no-more-404

archivetelebot's Introduction

ArchiveTeleBot

网页存档机器人 https://t.me/Archive_by_2049bbsBot

http://206.189.252.32:8088/

附带自动检测保存的网页是否仍然有效。

注意:会将提交的网址保存在 archive.csv 文件中,并自动检测网页是否已经404。检测结果保存在 archive2.csv 中。

自行部署方法

  1. http://t.me/BotFather 申请 Token,填入 ArchiveTeleBot.py 中的 bot = telebot.TeleBot("TOKEN")

  2. 服务器部署

注意:使用自建存档需要安装 https://github.com/Y2Z/monolith

仅支持 python3。

pip install archivenow slimit pyTelegramBotAPI requests bs4

使用

python Archive_by_2049bbsBot.py

自动检测网址:

R CMD BATCH check_archive.R

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.