Skip to content

Instantly share code, notes, and snippets.

View Forevka's full-sized avatar
Creating something new

Forevka Forevka

Creating something new
View GitHub Profile
{"lastUpload":"2019-07-25T09:35:21.249Z","extensionVersion":"v3.4.1"}
# -*- coding: utf-8 -*-
import sys, traceback, time, telebot, dbworker, sqlite3, random
import wget,os
import time
import requests
import datetime
import lxml.html as lhtml
from telebot import types#
from telegram.ext import Updater
#python -mwebbrowser "http://localhost:8000/cgi-bin/get_id.py?id=3&day=49"
heroku worker: my_bot.py
@Forevka
Forevka / bot.py
Last active March 21, 2018 15:26
# -*- coding: utf-8 -*-
import sys, traceback, time, telebot, dbworker, sqlite3, random
import wget,os
import time
import requests
import datetime
import lxml.html as lhtml
from telebot import types#
from telegram.ext import Updater
#python -mwebbrowser "http://localhost:8000/cgi-bin/get_id.py?id=3&day=49"
@Forevka
Forevka / bot.py
Last active March 30, 2018 13:45
# -*- coding: utf-8 -*-
import sys, traceback, time, config, telebot,sqlite3, dbworker, random
import wget,os
import lxml.html as lhtml
from telebot import types#
import requests
import json
#python -mwebbrowser "http://localhost:8000/cgi-bin/get_id.py?id=3&day=49"
token="524048314:AAEoyA7fmvMwU8UkRg0Ld4sdJqXeNkQH5ps"#"520067503:AAGxM_atlDYN9FYOmgsJ7Wjid4K27OIEIGE"
import sys, traceback, time, telebot, random, dbworker,requests
import wget,os
import lxml.html as lhtml
from telebot import types
from telegram.ext import Updater
import datetime
import time
import cherrypy
from telebot.types import LabeledPrice
#python -mwebbrowser "http://localhost:8000/cgi-bin/get_id.py?id=3&day=49"
from getpass import getpass
import sys, traceback, time, telebot,random
import wget, os
from telebot import types
from telethon.tl.types import UpdateShortMessage, PeerUser, PeerChannel, UpdateNewChannelMessage
from telethon.tl.functions.channels import *
import threading
from telethon.tl.types import InputPeerChat
from telethon import TelegramClient
from telethon.errors import SessionPasswordNeededError
@Forevka
Forevka / new_tel.py
Last active September 22, 2018 18:56
from getpass import getpass
import sys, traceback, time, telebot,random
import wget, os
from telebot import types
from telethon.tl.types import UpdateShortMessage, PeerUser, PeerChannel, UpdateNewChannelMessage
from telethon.tl.functions.channels import *
import threading
from telethon.tl.types import InputPeerChat
from telethon import TelegramClient
from telethon.errors import SessionPasswordNeededError
@Forevka
Forevka / bot.py
Last active April 11, 2018 12:06
import sys, traceback, time, telebot, random, requests
import xl
import json
import wget,os
import lxml.html as lhtml
from telebot import types
from telegram.ext import Updater
import datetime
import time
import shutil
# -*- coding: utf-8 -*-
import sys, traceback, time, telebot, dbworker, sqlite3, random
import wget,os
import time
import requests
import datetime
import lxml.html as lhtml
from telebot import types#
from telegram.ext import Updater
#python -mwebbrowser "http://localhost:8000/cgi-bin/get_id.py?id=3&day=49"