Skip to content

CC Scraper: An advanced Telegram bot script to scrape credit cards from specified Telegram groups and channels Both Public And Private

Notifications You must be signed in to change notification settings

abirxdhack/CC-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CC Scraper Telegram Bot

GitHub Repo stars GitHub issues GitHub pull requests GitHub contributors GitHub forks

CC Scraper: An advanced Telegram bot script to scrape credit cards from specified Telegram groups and channels.


Features

  • Scrapes cards from private/public Telegram groups and channels.
  • Supports format: group/channel username, ID, or link.
  • Scrapes specific BIN credit cards.
  • Removes duplicate credit cards.
  • Handles multiple requests at a time.
  • Super-fast scraping speed.
  • New Feature: Scrape from multiple chats using a single command.
  • Join Request Automatically Send Join Request To Chats Which Requires.
  • New Libraries Added For Speed Up.
  • Fixed UserAlreadyParticipant Error In Joinning And Scrapping From Private Chats.
  • Logging Added So That You Can See Every Functions Work In Console.
  • Updated All Regex Pattern.
  • Bin Filter Updated And Bank Filter Added.
  • user_link Variable Added For Nice Interface In Caption CC Scrapped By
  • Scrape Through Chat ID Of Chat Added Example /scr -1003463745639 10
  • Multiple CC Scrapper Has Some Common Features Of CC Scrapper.

Requirements

Before you begin, ensure you have met the following requirements:

  • Python 3.9 or higher.
  • pyrogram and tgcrypto libraries. ✨Note You Can Also Use pyrofork
  • A Telegram bot token (you can get one from @BotFather on Telegram).
  • API ID and Hash: You can get these by creating an application on my.telegram.org.
  • To Get SESSION_STRING Open @ItsSmartToolBot. Bot and use /pyro command and then follow all instructions.

Installation

To install pyrogram , aiofiles asyncio and tgcrypto, run the following command:

pip install -r requirements.txt

Note: If you previously installed pyrofork, uninstall it before installing pyrogram.

Configuration

  1. Open the config.py file in your favorite text editor.

  2. Replace the placeholders for API_ID, API_HASH, SESSION_STRING, ADMIN_IDS, DEFAULT_LIMIT, ADMIN_LIMIT and BOT_TOKEN with your actual values:

  3. Optional VARS:

    • ADMIN_IDS: List of admin user IDs who have elevated permissions.
    • ADMIN_LIMIT: The maximum number of messages admins can scrape in a single request.
    • DEFAULT_LIMIT: The maximum number of messages regular users can scrape in a single request.

Deploy the Bot

git clone https://github.com/abirxdhack/CC-Scrapper
cd CC-Scrapper
python scrapper.py

Deploy The Bot With Screen

git clone https://github.com/abirxdhack/CC-Scrapper
cd CC-Scrapper
screen -S CCScrapperBot
python scr.py

Supported Commands

Single Channel Scrape

  1. Use the /scr command followed by the group or channel username and the number of messages to scrape.

    /scr @channel_username 1000
    
  2. Optionally, you can scrape any target BIN cards by providing the BIN number.

    /scr @channel_username 1000 434769
    
  3. Optionally, you can scrape messages containing a specific bank name by providing the bank name.

    /scr @channel_username 1000 BankName
    
  4. Use a chat ID instead of the username for private channels:

    /scr -1001234567890 1000
    
  5. Use an invite link for private channels:

    /scr https://t.me/+abcdef1234567890 1000
    

Multi Channel Scrape

  1. Use the /mc command to scrape from multiple chats by specifying multiple usernames and the total number of messages to scrape:

    /mc @channel_username @channel_username1 1000
    
  2. For private channels using chat IDs with the /mc command:

    /mc -1001234567890 -1009876543210 1000
    
  3. For private channels using invite links with the /mc command:

    /mc https://t.me/+abcdef1234567890 https://t.me/+uvwxyz9876543210 1000
    

General Notes

  • The @channel_username can be replaced with the actual username of the channel or group.
  • The -1001234567890 should be replaced with the actual chat ID of the private channel or group.
  • The https://t.me/+abcdef1234567890 should be replaced with the actual invite link of the private channel or group.
  • The 1000 represents the number of messages to scrape and can be adjusted as needed.
  • For multi-channel scrape (/mc), the last argument should always be the total number of messages to scrape across all specified channels.

Major Note

DEFAULT_LIMIT Currently Set To 5000 Because Request Over 10000 May Cause Your User Acc Ban Or Logout ADMIN_LIMIT Currently Set To 10000 Because Request Over 10000 May Cause Your User Acc Ban Or Logout

Notes:

  • Ensure the bot is an administrator in the channels/groups you want to scrape from for the best results.
  • The bot can handle a high number of requests simultaneously, but it's a good practice to monitor its performance and adjust limits if necessary.
  • If you encounter any issues, check the bot logs for detailed error messages.
  • Keep your API credentials and session string secure to prevent unauthorized access to your bot.
  • First Clone Repo Then Update Credentials Dont Direct Commit On Github To Keep Credentials Secure.

Authors

Update Author

  • Name: Abir Arafat Chawdhury
  • Telegram: @ModVip_rm

Feel free to reach out if you have any questions or feedback In My Telegram Abir Arafat Chawdhury

About

CC Scraper: An advanced Telegram bot script to scrape credit cards from specified Telegram groups and channels Both Public And Private

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published