GithubHelp home page GithubHelp logo

shreegowtham27 / telegram-member-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivanstruk/telegram-member-scraper

0.0 1.0 0.0 7 KB

Export all users from member groups using Telethon.

License: MIT License

Python 100.00%

telegram-member-scraper's Introduction

telegram-member-scraper

Export all users from member groups using Telethon.

This is a Python script based off a tutorial for scraping Telegram users from groups. The original code allowed the user to export an individual group's members into one CSV file. I have now adapted the code so that each group's members can be outputed into individual CSV files which are appropriately named as the corresponding groups.

The original tutorial can be found here: https://python.gotrained.com/scraping-telegram-group-members-python-telethon/

Requirements:

You're going to need to install Telethon package for Python, and configure it to suit the Telegram API. Navigate over to https://my.telegram.org and using the API development tools configure your credentials. For this you are going to ned an api_id and api_hash and your phone number. Paste these values in the appropriate fields in member_go.py.

To install Telethon you can do: python pip install telethon

Execution:

Once you have fulfilled the requirements go ahead an launch the script from your command prompt or terminal. Please note that your output folder will be the same directory as where you have your script saved.

Feedback:

This is my first submission to Github, and I am quite fresh to python so please feel free to send me any constructive feedback: mailto:[email protected]

telegram-member-scraper's People

Contributors

ivanstruk avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.