Skip to content

Instantly share code, notes, and snippets.

View CustomIcon's full-sized avatar
🤒
Out sick

ポキ CustomIcon

🤒
Out sick
View GitHub Profile
@CustomIcon
CustomIcon / channels.m3u
Last active June 29, 2023 19:34
channels
#EXTM3U x-tvg-url="https://iptv-org.github.io/epg/guides/en/nowplayer.now.com.xml"
#EXTINF:0 tvg-id="VTV.mv" tvg-logo="http://www.ass-media.de/pic/upload/2016/04/21/20160421192216-7f94057b.png" group-title="Business",VTV
https://vtvstream.vnews.mv/vtvlive/vmedia/playlist.m3u8
#EXTINF:0 tvg-id="SunTV.mv" tvg-logo="http://www.ass-media.de/pic/_data/i/upload/2016/04/21/20160421192214-647128e7-me.png" group-title="Business",SunTV
https://sstv.ssplay.mv/hls/sstv-live/index.m3u8
#EXTINF:0 tvg-id="RaajjeTV.mv" tvg-logo="http://www.ass-media.de/pic/_data/i/upload/2016/04/21/20160421192214-14d526d6-me.png" group-title="Business",Raajje TV
https://stream.raajje.mv/live/rtv_live/index.m3u8
@CustomIcon
CustomIcon / bot.py
Last active February 19, 2021 23:20
Lydia Reverse Engineered
# pip install coffeehouse
from coffeehouse import LydiaAI
from coffeehouse.api import API
from coffeehouse.exception import CoffeeHouseError
# for lydia-chan
import random
# Enable Logging
import logging
@CustomIcon
CustomIcon / tg_code.py
Last active May 8, 2024 13:07
Login to Telegram with Pyrogram Client without accessing https://my.telegram.org on Web Browser
# Copyright (c) Shrimadhav U K
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

Keybase proof

I hereby claim:

  • I am pokurt on github.
  • I am pokurt (https://keybase.io/pokurt) on keybase.
  • I have a public key ASCwMoQ9_UfSBkZ2veC_bk7to4WUFqs44KhZ4dCM0kiNzwo

To claim this, I am signing this object:

@CustomIcon
CustomIcon / recover.py
Last active May 20, 2022 06:58
Recover your Voip or Test number after you loose it (if you have session string). Pyrogram and Telethon Only!
# for those who uses heroku or AUTH key they can recover their account back after loosing test number or Voip. (specially for iraninan friends)
#
# DISCLAIMER: IF YOU USE THIS SNIPPET AGAINST TELEGRAM TOS YOU WILL BE BANNED FROM USING MY SERVICES
#
# STEPS:
# 0. fill in your api_id and api_hash variables
# 1. try to make telegram send you the login code from your official client
# 2. run the script in machine (requires pyrogram==1.0.7 and telethon==1.17.5)
from telethon import sync, sessions
@CustomIcon
CustomIcon / app.py
Last active April 5, 2021 11:36
A Console made to debug pyrogram methods (for personal use~)
# Requires Pyrogram==1.0.7 and up
# Client is binded to variable 'c'
# --Example:
# pyrogram-debug$: c.send_message('pyrogramlounge', '@jonakek is still gay')
#
# you can even pass the Client obj into print() in console to get the json response
# --Example:
# pyrogram-debug$: print(c.send_message('pyrogramlounge', '@haskell new pyrogram update wen'))
# Returns:
# json
@CustomIcon
CustomIcon / tginstantview.txt
Created October 1, 2020 08:36
Telegram Instant View to Casper Theme for @Ghostblog
~version: "2.0"
$main: //article[@class="post-full"]
channel: "@pokurtblog"
title: $main//header//h1[1]
kicker: $main//header//p[@class="post-full-custom-excerpt"]
body: //div[@class="post-content"]
author: //h4[@class="author-name"]
author_url: //h4[@class="author-name"]/a
@CustomIcon
CustomIcon / 1.md
Last active July 23, 2023 17:52 — forked from ColinShark/1.md
start(), idle() and stop() multiple Pyrogram Clients at once.

UPDATED

Updated to Pyrogram v1.

If you know what you're doing, feel free to use these as a guide.

For any questions, head to @PyrogramLounge.