Skip to content

Instantly share code, notes, and snippets.

View rafaelribeiroo's full-sized avatar
🎯
Focusing

Rafael Ribeiro rafaelribeiroo

🎯
Focusing
  • Franca/Sao Paulo
View GitHub Profile
@rafaelribeiroo
rafaelribeiroo / main.py
Created December 19, 2023 03:39
bot-telegram
from asyncio import get_event_loop
from telegram import Bot
from configparser import ConfigParser
config = ConfigParser()
config.read('config.ini')
day = config['FACEBOOK']['interval']
bot = Bot(config['TELEGRAM']['token'])
<!DOCTYPE html>
<html id="facebook" class="_9dls __fb-light-mode" lang="en" dir="ltr">
<head>
<link data-default-icon="https://static.xx.fbcdn.net/rsrc.php/yT/r/aGT3gskzWBf.ico" data-badged-icon="https://static.xx.fbcdn.net/rsrc.php/yD/r/UJj0tgk-RrT.ico" rel="shortcut icon" href="https://static.xx.fbcdn.net/rsrc.php/yT/r/aGT3gskzWBf.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2,shrink-to-fit=no" />
<link rel="manifest" id="MANIFEST_LINK" href="/data/manifest/" crossorigin="use-credentials" />
<meta name="color-scheme" content="light" />
<meta name="theme-color" content="#FFFFFF" />
<style nonce="8b7rMLRE">
:root {
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: "Ubuntu-22"
username: "pereiraribeiro"
password: "123456"
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$123456$..Jk9PGD0Iuy2g4GMWJzmPUhrJmBil5mDaT.wE09i5Zdm7HQbFafrzhODtnYlfc62ujypO/ITF8DY.D.N6mdN1'
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$2LEKTy5/n1F6i0sF$rPbKnHp9I5VH5YEB6tt2Dxij.Rq92j/SntQo1faL4jPhcsAaxnurgOqpNjuNWJptRW5PCh/Z1fX3ymqDuV5ML1'
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: 'Ubuntu-22'
username: 'pereira-ribeiro'
password: '$6$2LEKTy5/n1F6i0sF$rPbKnHp9I5VH5YEB6tt2Dxij.Rq92j/SntQo1faL4jPhcsAaxnurgOqpNjuNWJptRW5PCh/Z1fX3ymqDuV5ML1'