Skip to content

Proxy scraper bot to Scrape and send proxies to Telegram topics automatically

License

Notifications You must be signed in to change notification settings

Kourva/AnonProxies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ᨒ AnonProxies ᨒ

˗ˏˋ Proxy scraper bot to Scrape and send proxies to Telegram topics automatically ˎˊ˗


⿻ About AnonProxies

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.

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...

⿻ Installation

  1. Clone repository:
    git clone https://github.com/Kourva/AnonProxies
  2. Navigate to Anon Proxies:
    cd AnonProxies
  3. Make Virtual Environment:
    virtualenv venv && source venv/bin/activate
  4. Install requirements
    pip install -r requirements.txt

⿻ Configuration

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)

⿻ Running bot

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

⿻ Any idea or Issue ?

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.

Releases

No releases published

Packages

No packages published

Languages