Coder Social home page Coder Social logo

nicolapreda / 110-tidings Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 695 KB

πŸš€πŸ  Bot Telegram realizzato in Python, con la funzione di inoltrare in chat gli ultimi annunci e le ultime notizie riguardanti il Superbonus Casa 110% attualmente presente in Italia.

License: MIT License

Python 100.00%
bonus 110 bonuscasa bot python scraping news italia superbonus

110-tidings's Introduction

Bot logo

110 Tidings | Telegram bot

Status GitHub Issues GitHub Pull Requests License


πŸ€– Bot Telegram realizzato in Python, con la funzione di inoltrare in chat gli ultimi annunci e le ultime notizie riguardanti il Superbonus Casa 110% attualmente presente in Italia.

πŸ“ Table of Contents

🧐 About

πŸ€– Bot Telegram realizzato in Python, con la funzione di inoltrare in chat gli ultimi annunci e le ultime notizie riguardanti il Superbonus Casa 110% attualmente presente in Italia.

πŸ’­ How it works

Questo script esegue ogni x secondi lo scraping delle pagine "news" di Google riguardanti il bonus 110% Case, e confronta i link trovati con quelli presenti nel file "news.json", cosi da capire se si tratta di una notizia inviata in precedenza oppure di un nuovo aggiornamento da inviare alla chat Telegram.

L'intero bot Γ¨ scritto in Python 3.6

🎈 Usage

Per utilizzare il bot su Telegram, recati al link: http://t.me/bonus110_bot , e avvialo con il comando /start . Da quel momento riceverai una notifica ad ogni aggiornamento. Altri comandi disponibili sono:

/help = Fornisce informazioni sul funzionamento del bot

Prerequisites

E' necessario installare Python e Pip in locale per poter avviare il bot tramite console.

Le seguenti librerie sono richieste per il corretto funzionamento dello script:

diskxo@main:~$ sudo pip install pyTelegramBotAPI==0.3.0 GoogleNews

Installing

Utilizzando questo comando (avendo installato Git su Pc locale)

diskxo@main:~$ git clone https://github.com/diskxo/110-Tidings

Potrai avere una copia locale del bot. Ti basterΓ  infine creare un file chiamato "token.json" e inserire il token del tuo bot di Telegram per completare l'installazione

diskxo@main:~/110-tidings $ touch token.json

πŸš€ Deploying your own bot

Per lanciare il bot spostati sulla repository clonata e scrivi il comando:

diskxo@main:~/110-tidings $ python app.py

⛏️ Built Using

  • Python - Linguaggio di programmazione utilizzato
  • VSCode - Text Editor utilizzato
  • Telegram-Bot - Libreria per comunicare con il bot di Telegram
  • GoogleNews - Libreria per scraping delle notizie su Google

✍️ Authors

110-tidings's People

Contributors

nicolapreda avatar

Stargazers

 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.