˗ˏˋ Proxy scraper bot to Scrape and send proxies to Telegram topics automatically ˎˊ˗
There are many proxy collectors and scrapers on GitHub that scrape proxies from Telegram channels or other sources. It is a good idea to have a Telegram bot that can collect all of them for you and post them in a group. As you may know, Telegram has Topics, which means you can create sub-topics such as one for vless proxy and another for trojan.
![](https://private-user-images.githubusercontent.com/118578799/296620340-306e986c-7c63-42b2-917d-14fa80c60416.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2Njc0ODgsIm5iZiI6MTcyNDY2NzE4OCwicGF0aCI6Ii8xMTg1Nzg3OTkvMjk2NjIwMzQwLTMwNmU5ODZjLTdjNjMtNDJiMi05MTdkLTE0ZmE4MGM2MDQxNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyNlQxMDEzMDhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYThmZjhiN2EyNTQ4Nzc2ZTMzYmM2ZmI0OGY0ZDY1YjI0MGE2NDYwNmM0ZTRhYjdjZmJmMjY4NTgxMTQ0NDMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1P8tZWM8mEdSyr3USuqFchLExiQgedXp7HiwSd0KSEc)
This bot collects all proxies from different sources and sends them to your chosen topic. All you need to do is give the bot a few commands to tell it what to do. You can open src/services.json
to see which sources are being used by the bot (you can also use their tools).
The bot will send proxies in pairs of 10 to make it easy to copy and paste proxies into apps like V2ray-Ng. Additionally, some proxies like Mtproto and Socks5 have inline buttons to connect to them directly within Telegram.
I hope you find this project useful! If you do, I kindly invite you to show your support by starring the project. Your encouragement means a lot to me. Thank you!
Let's begin the installation process...
- Clone repository:
git clone https://github.com/Kourva/AnonProxies
- Navigate to Anon Proxies:
cd AnonProxies
- Make Virtual Environment:
virtualenv venv && source venv/bin/activate
- Install requirements
pip install -r requirements.txt
Navigate to src/credintial.json
and fill required values:
{
"Token": "1234567890:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Admin": "1234567890",
"Topic": "-1001234567890",
"Vless":1,
"Vmess":2,
"Trojan":3,
"Socks5":4,
"Mtproto":5,
"ShadowSocks":6
}
Get the token from bot father
Put your Chat-ID in Admin section
Put your Topic group's chat-ID in topic section (Google it if you don't know how)
Put your topic's thread id in other sections. if your topic section X url is this:t.me/your_topic/12
(12 is thread id for section X)
After configuration, run bot using python:
python bot.py
You can also use proxychains and run it with tor or any other proxy:
proxychians -q python bot.py
You can submit your ideas and issues in issue section. This project is licensed under the MIT License. You are welcome to access the code, use it, and make modifications, all in accordance with the terms of the MIT License.