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
http://cdnmaktab.takhtesefid.org/videos/hq271221413905.mp4?name=hq-rkhosravi-ap-1.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq986686135896.mp4?name=hq-rkhosravi-ap-2.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq209596017493.mp4?name=hq-rkhosravi-ap-3.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq226782908736.mp4?name=hq-rkhosravi-ap-4.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq294023206931.mp4?name=hq-rkhosravi-ap-5.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq155880155825.mp4?name=hq-rkhosravi-ap-6.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq959790170274.mp4?name=hq-rkhosravi-ap-7.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq0150971132681.mp4?name=hq-rkhosravi-ap-8.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq987265172815.mp4?name=hq-rkhosravi-ap-9.mp4 | |
http://cdnmaktab.takhtesefid.org/videos/hq111775140958.mp4?name=hq-rkhosravi-ap-10.mp4 |
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
main() { | |
# Use colors, but only if connected to a terminal, and that terminal | |
# supports them. | |
if which tput >/dev/null 2>&1; then | |
ncolors=$(tput colors) | |
fi | |
if [ -t 1 ] && [ -n "$ncolors" ] && [ "$ncolors" -ge 8 ]; then | |
RED="$(tput setaf 1)" | |
GREEN="$(tput setaf 2)" | |
YELLOW="$(tput setaf 3)" |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# | |
# Simple Bot to reply to Telegram messages. This is built on the API wrapper, see | |
# echobot2.py to see the same example built on the telegram.ext bot framework. | |
# This program is dedicated to the public domain under the CC0 license. | |
import logging | |
import telegram | |
from telegram.error import NetworkError, Unauthorized | |
from time import sleep |
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 urllib.parse, urllib.request | |
import telegram | |
import logging | |
from telegram.error import NetworkError, Unauthorized | |
from time import sleep | |
from khayyam import JalaliDatetime | |
import validators | |
import json | |
update_id = None | |
bot_started = JalaliDatetime.now() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from telegram.ext import (Updater, CommandHandler, MessageHandler, Filters) | |
import logging | |
group_admins = {} | |
# Enable logging | |
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', | |
level=logging.INFO) |
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
#!/usr/bin/env python3 | |
from subprocess import run, getoutput | |
from time import sleep | |
from pytg.sender import Sender | |
dlDir = "/tmp/es6/dl" | |
sentDir = "/tmp/es6/sent" | |
sender = Sender('localhost',6670) | |
to = "$050000007d208f3f0115b300fb607ab4" | |
ls = getoutput('find {} -name "*.*"'.format(dlDir)).splitlines() |
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
#!/bin/bash | |
#####http://jadi.net/tag/%d8%a8%d8%b3%d8%aa%d9%88%d9%86/##### | |
aria2c -o 01.mp4 "http://hw15.asset.aparat.com/aparat-video/a_nod4e325hqss4lr9n4q8qn0o232no2pp4547s0544940-164c__d4b37.mp4" | |
aria2c -o 02.mp4 "http://hw6.asset.aparat.com/aparat-video/a_jc4h68g6h487k178n9h7m1li3j0l65l2344858325055-942w__726ad.mp4" | |
aria2c -o 03.mp4 "http://hw16.asset.aparat.com/aparat-video/a_709ej5fh60j6eli07o4jh41g1g12h2gh74fh83889939-497t__47b9e.mp4" | |
aria2c -o 04.mp4 "http://hw7.asset.aparat.com/aparat-video/a_q9me6ng8roj8k58m58o50n3q99pn6950m766m5092735-619b__c94a6.mp4" | |
aria2c -o 05.mp4 "http://hw16.asset.aparat.com/aparat-video/a_b0c255fl83i516j713p5l3l0j19mk06647jk37223387-831x__8125f.mp4" | |
aria2c -o 06.mp4 "http://hw13.asset.aparat.com/aparat-video/a_b5c54hf13j80kkj462pgh5j7k18619i5hj82g8334408-942u__521af.mp4" | |
aria2c -o 07.mp4 "http://hw3.asset.aparat.com/aparat-video/a_bb65e60g2h2fc692fo7457c93305df844fbgd2778859-386q__1647e.mp4" | |
aria2c -o 08.mp4 "http://hw15.asset.aparat.com/aparat-video/a_bg5kei4g00639im2lo145i5 |
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
from telegram.ext import Updater, Dispatcher, Job, CommandHandler | |
import logging | |
# Enable logging | |
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', | |
level=logging.INFO) | |
logger = logging.getLogger(__name__) | |
def error(bot, update, error): | |
"""Log Errors caused by Updates.""" |
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
@font-face { | |
font-family: Sahel; | |
src: url('https://cdn.rawgit.com/rastikerdar/sahel-font/5d124266/dist/Farsi-Digits/Sahel-FD.eot'); | |
src: url('https://cdn.rawgit.com/rastikerdar/sahel-font/5d124266/dist/Farsi-Digits/Sahel-FD.eot?#iefix') format('embedded-opentype'), | |
url('https://cdn.rawgit.com/rastikerdar/sahel-font/5d124266/dist/Farsi-Digits/Sahel-FD.woff') format('woff'), | |
url('https://cdn.rawgit.com/rastikerdar/sahel-font/5d124266/dist/Farsi-Digits/Sahel-FD.ttf') format('truetype'); | |
font-weight: normal; | |
} | |
@font-face { |
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
@font-face { | |
font-family: Vazir; | |
src: url('https://cdn.rawgit.com/rastikerdar/vazir-font/v8.2.1/dist/Vazir.woff') format('woff'); | |
} | |
@font-face { | |
font-family: Samim; | |
src: url('https://cdn.rawgit.com/rastikerdar/samim-font/v1.0.2/dist/Samim.woff') format('woff'); | |
} |
OlderNewer