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
- Host: GitHub
- URL: https://github.com/Terminus2049/ArchiveTeleBot
- Owner: Terminus2049
- License: gpl-3.0
- Created: 2018-05-10T06:08:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T17:30:39.000Z (over 4 years ago)
- Last Synced: 2024-11-24T19:53:50.653Z (6 months ago)
- Topics: anticensorship, archiveis, no-more-404, telegram-bot
- Language: Python
- Homepage: https://t.me/Archive_by_2049bbsBot
- Size: 76.2 KB
- Stars: 70
- Watchers: 6
- Forks: 22
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```