-
"Add domain alias" and write the domain (Netlify)
-
Go to "Configura DNS" (Register.it)
-
Add this records:
domain-name 900 A 75.2.60.5
domain-name 900 A website-ip
To find the
website-ip
:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
from telebot import types | |
from flask import Flask, request | |
import requests | |
import psycopg2 | |
import re | |
import os | |
import sqlite3 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot # https://github.com/eternnoir/pyTelegramBotAPI | |
import requests | |
bot = telebot.TeleBot('BOT_TOKEN_HERE') # Create a bot on t.me/BotFather | |
r = requests.get('https://raw.githubusercontent.com/EbookFoundation/free-programming-books/master/books/free-programming-books-it.md') | |
f = r.text | |
f = f.splitlines() |