An open API service indexing awesome lists of open source software.

https://github.com/Terminus2049/ArchiveTeleBot

a telegram bot that saves urls to archive.is & archive.org
https://github.com/Terminus2049/ArchiveTeleBot

anticensorship archiveis no-more-404 telegram-bot

Last synced: 6 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# ArchiveTeleBot

网页存档机器人

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

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

## 自行部署方法

1. 向 申请 Token,填入 `ArchiveTeleBot.py` 中的 `bot = telebot.TeleBot("TOKEN")`。

2. 服务器部署

**注意**:使用自建存档需要安装

仅支持 python3。

```bash
pip install archivenow slimit pyTelegramBotAPI requests bs4
```

使用

```python
python Archive_by_2049bbsBot.py
```

自动检测网址:

```R
R CMD BATCH check_archive.R
```