Coder Social home page Coder Social logo

pranav108 / scheduled-telegram-scrapper Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 0.0 1.12 MB

A Python script to scrap various data from the telegram group.

Python 100.00%
dynamodb google-sheets-api python-script telegram-bot telegram-scraper telegram-member-scraper telegram-tool

scheduled-telegram-scrapper's Introduction

Telegram Scarpping

A Python script to scrap Various data from the telegram group.

Features

  • Extract data based on ,user, date, activity,
  • Scrap data on Daily Basic.
  • Push the data to google spreadSheet in readable format.
  • Push the Data to DynamoDB as well.

Tech stacks

  • Python - programming language
  • DynamoDB - hosted NoSQL database offered by AWS
  • Google Cloud - suite of cloud computing services.
  • Git - version control system

Setting Up Your Local Environment

If you wish to play around with the code base in your local environment, do the following

* Clone this repo to your local machine.
* Using the terminal, navigate to the cloned repo.
* Install all the neccessary dependencies, as stipulated in the requirements.txt file.
* Get your API_HASH and API_ID from my.telegram.org.
* Connect you googleSheet with bot to edit your sheet and get it's credentials.

In your .env file, set environment variables for the following:

# TELEGRAM CREDENTIALS
API_ID =
API_HASH =
GROUP_CHAT_ID =

# GOOGLE SHEET ID
SHEET_ID =

# DYNAMO_DB THINGS
service_name =
region_name =
aws_access_key_id =
aws_secret_access_key =
API_KEY =
bot_username =

Helpful commands

$ git clone https://github.com/yourGitHubUsername/scheduled-telegram-scrapper.git
$ cd scheduled-telegram-scrapper
$ pip3 install -r requirements.txt
$ python runScript.py

Author

scheduled-telegram-scrapper's People

Contributors

pranav108 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.