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 base64 | |
import json | |
import random | |
import re | |
import time | |
try: | |
from Crypto import Random | |
from Crypto.Cipher import AES, PKCS1_v1_5 | |
from Crypto.PublicKey import RSA |
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 re | |
from livestreamer.plugin import Plugin | |
from livestreamer.plugin.api import http, validate | |
from livestreamer.plugin.api.utils import parse_json | |
from livestreamer.stream import ( | |
HTTPStream, HLSStream | |
) | |
STATUS_ONLINE = 4 |
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
diff -upr a/git-changebar/src/gcb-plugin.c b/git-changebar/src/gcb-plugin.c | |
--- a/git-changebar/src/gcb-plugin.c 2016-07-10 10:22:27.000000000 +0200 | |
+++ b/git-changebar/src/gcb-plugin.c 2016-10-23 20:42:58.000000000 +0200 | |
@@ -419,20 +419,24 @@ worker_thread (gpointer data) | |
} | |
} | |
} | |
- if (! repo && git_repository_open_ext (&repo, path, 0, NULL) == 0) { | |
- if (git_repository_is_bare (repo)) { | |
- git_repository_free (repo); |
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 re | |
from livestreamer.plugin import Plugin | |
from livestreamer.plugin.api import http | |
from livestreamer.stream import HLSStream | |
HLS_URL_FORMAT = "https://hls.goodgame.ru/hls/{0}{1}.m3u8" | |
QUALITIES = { | |
"1080p": "", | |
"720p": "_720", |
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 re | |
from livestreamer.plugin import Plugin | |
from livestreamer.plugin.api import http | |
from livestreamer.plugin.api.utils import parse_json | |
from livestreamer.stream import HLSStream | |
_url_re = re.compile(r"https?://www\.arconaitv\.me/stream\.php\?id=\d+") | |
SOURCE_RE = re.compile(r'source +src="([^"]+)" ') |
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
(function () { | |
'use strict'; | |
var root = void 0; | |
try { | |
root = self; | |
} catch (e) { | |
try { | |
root = global; | |
} catch (e) { |