Skip to content

jeremiah687677/telegram-scraper-TeleGraphite

Repository files navigation

📡 Telegram Scraper - TeleGraphite

GitHub Release GitHub Issues GitHub Stars

Welcome to TeleGraphite, a fast and reliable Telegram channel scraper. This tool fetches posts from Telegram channels and exports them to JSON format. Whether you need data for research, analysis, or archiving, TeleGraphite is designed to help you get the job done efficiently.

🚀 Features

  • Fast Scraping: Fetch posts quickly from any public Telegram channel.
  • Reliable: Built with stability in mind to handle large volumes of data.
  • JSON Export: Easily export your scraped data in a clean JSON format.
  • User-Friendly: Simple setup and straightforward usage.

📦 Installation

To get started with TeleGraphite, follow these steps:

  1. Download the latest release from the Releases section. Look for the file that needs to be downloaded and executed.

  2. Unzip the file to your desired directory.

  3. Install dependencies. Make sure you have Python installed. You can install the required packages using pip:

    pip install -r requirements.txt
  4. Run the scraper. Use the following command to start scraping:

    python scraper.py --channel <channel_username>

📜 Usage

To scrape a Telegram channel, you need to specify the channel's username. For example:

python scraper.py --channel example_channel

This command will start the scraping process and save the output in a JSON file. You can customize the output file name and location using additional flags.

🛠️ Configuration

TeleGraphite allows for some configuration options. You can modify the config.json file to set your preferences:

  • output_file: Specify the name of the output JSON file.
  • max_posts: Set the maximum number of posts to scrape.
  • timeout: Adjust the timeout settings for requests.

Example config.json:

{
  "output_file": "output.json",
  "max_posts": 100,
  "timeout": 5
}

🐞 Issues

If you encounter any issues, please check the Issues section on GitHub. You can report new issues or find solutions to existing ones.

📣 Contributing

We welcome contributions to TeleGraphite. If you would like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Create a pull request.

📜 License

TeleGraphite is licensed under the MIT License. See the LICENSE file for more details.

🤝 Acknowledgments

  • Thanks to the contributors who have helped improve this project.
  • Special thanks to the Telegram API for providing the tools to make this possible.

🌐 Topics

This project is related to the following topics:

  • channels
  • telegram
  • telegram-channel-scraper
  • telegram-json
  • telegram-scrape-channels
  • telegram-scraper

📬 Contact

For any inquiries, feel free to reach out via GitHub or check the Releases section for updates.

🎉 Conclusion

Thank you for considering TeleGraphite for your Telegram scraping needs. We hope you find it useful and efficient. Don’t forget to check the Releases section for the latest updates and features. Happy scraping!

About

A fast and reliable Telegram channel scraper that fetches posts and exports them to JSON.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages