KekikStream 0.3.6__py3-none-any.whl → 0.3.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- KekikStream/Plugins/DiziBox.py +1 -1
- KekikStream/Plugins/FullHDFilmizlesene.py +2 -2
- KekikStream/__init__.py +9 -9
- KekikStream/__main__.py +1 -1
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/METADATA +1 -1
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/RECORD +10 -10
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/LICENSE +0 -0
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/WHEEL +0 -0
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/entry_points.txt +0 -0
- {KekikStream-0.3.6.dist-info → KekikStream-0.3.7.dist-info}/top_level.txt +0 -0
KekikStream/Plugins/DiziBox.py
CHANGED
@@ -99,7 +99,7 @@ class DiziBox(PluginBase):
|
|
99
99
|
|
100
100
|
if atob_data := re.search(r"unescape\(\"(.*)\"\)", istek.text):
|
101
101
|
decoded_atob = urllib.parse.unquote(atob_data[1])
|
102
|
-
str_atob = base64.b64decode(decoded_atob).decode(
|
102
|
+
str_atob = base64.b64decode(decoded_atob).decode("utf-8")
|
103
103
|
|
104
104
|
if iframe := Selector(str_atob).css("div#Player iframe::attr(src)").get():
|
105
105
|
results.append(iframe)
|
@@ -61,7 +61,7 @@ class FullHDFilmizlesene(PluginBase):
|
|
61
61
|
secici = Selector(istek.text)
|
62
62
|
|
63
63
|
script = secici.xpath("(//script)[1]").get()
|
64
|
-
scx_data = json.loads(re.findall(r
|
64
|
+
scx_data = json.loads(re.findall(r"scx = (.*?);", script)[0])
|
65
65
|
scx_keys = list(scx_data.keys())
|
66
66
|
|
67
67
|
link_list = []
|
@@ -72,6 +72,6 @@ class FullHDFilmizlesene(PluginBase):
|
|
72
72
|
if isinstance(t, dict):
|
73
73
|
link_list.extend(StringCodec.decode(v) for k, v in t.items())
|
74
74
|
|
75
|
-
link_list = [f"https:{link}" if link.startswith(
|
75
|
+
link_list = [f"https:{link}" if link.startswith("//") else link for link in link_list]
|
76
76
|
# konsol.print(link_list)
|
77
77
|
return link_list
|
KekikStream/__init__.py
CHANGED
@@ -61,9 +61,15 @@ class KekikStream:
|
|
61
61
|
konsol.print("[bold red]Arama sonucu bulunamadı![/bold red]")
|
62
62
|
return await self.sonuc_bulunamadi()
|
63
63
|
|
64
|
-
if secilen_sonuc := await self.
|
64
|
+
if secilen_sonuc := await self.eklenti_sonuc_secimi(sonuclar):
|
65
65
|
await self.sonuc_detaylari_goster({"plugin": self.suanki_eklenti.name, "url": secilen_sonuc})
|
66
66
|
|
67
|
+
async def eklenti_sonuc_secimi(self, sonuclar):
|
68
|
+
return await self.arayuz_yonetici.select_from_fuzzy(
|
69
|
+
message = "İçerik sonuçlarından birini seçin:",
|
70
|
+
choices = [{"name": sonuc.title, "value": sonuc.url} for sonuc in sonuclar]
|
71
|
+
)
|
72
|
+
|
67
73
|
async def tum_eklentilerde_arama(self):
|
68
74
|
self.arayuz_yonetici.clear_console()
|
69
75
|
konsol.rule("[bold cyan]Tüm Eklentilerde Arama Yapın[/bold cyan]")
|
@@ -79,13 +85,7 @@ class KekikStream:
|
|
79
85
|
if secilen_sonuc:
|
80
86
|
await self.sonuc_detaylari_goster(secilen_sonuc)
|
81
87
|
|
82
|
-
async def
|
83
|
-
return await self.arayuz_yonetici.select_from_fuzzy(
|
84
|
-
message = "İçerik sonuçlarından birini seçin:",
|
85
|
-
choices = [{"name": sonuc.title, "value": sonuc.url} for sonuc in sonuclar]
|
86
|
-
)
|
87
|
-
|
88
|
-
async def tum_eklentilerde_arama_sorgula(self, sorgu: str):
|
88
|
+
async def tum_eklentilerde_arama_sorgula(self, sorgu: str) -> list:
|
89
89
|
tum_sonuclar = []
|
90
90
|
|
91
91
|
for eklenti_adi, eklenti in self.eklentiler_yonetici.plugins.items():
|
@@ -112,7 +112,7 @@ class KekikStream:
|
|
112
112
|
|
113
113
|
async def tum_sonuc_secimi(self, sonuclar):
|
114
114
|
secenekler = [
|
115
|
-
{"name": f"
|
115
|
+
{"name": f"[{sonuc['plugin']}]".ljust(21) + f" » {sonuc['title']}", "value": sonuc}
|
116
116
|
for sonuc in sonuclar
|
117
117
|
]
|
118
118
|
|
KekikStream/__main__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.7
|
4
4
|
Summary: terminal üzerinden medya içeriği aramanızı ve VLC/MPV gibi popüler medya oynatıcılar aracılığıyla doğrudan izlemenizi sağlayan modüler ve genişletilebilir bir bıdı bıdı
|
5
5
|
Home-page: https://github.com/keyiflerolsun/KekikStream
|
6
6
|
Author: keyiflerolsun
|
@@ -1,5 +1,5 @@
|
|
1
|
-
KekikStream/__init__.py,sha256=
|
2
|
-
KekikStream/__main__.py,sha256=
|
1
|
+
KekikStream/__init__.py,sha256=FR1jcEZkFpOP7_GLRPLqUcYYxFaElmAo_3R9gZpigdE,10489
|
2
|
+
KekikStream/__main__.py,sha256=B81dQoeGEb-T5Sycs3eNAmW7unvx0Mef0syCjs4nPds,137
|
3
3
|
KekikStream/requirements.txt,sha256=gS_TUUQx5A7FUmRGxj2dQedxheD7qA6AswdUb2y_Ub8,70
|
4
4
|
KekikStream/CLI/__init__.py,sha256=U6oLq_O7u5y2eHhBnmfhZNns_EqHHJXJmzl8jvZFUNY,230
|
5
5
|
KekikStream/CLI/pypi_kontrol.py,sha256=MchatOwCWCpFBtgt09yag9Rjal9XFyh2W_oVs2p7SNg,1518
|
@@ -41,16 +41,16 @@ KekikStream/Managers/MediaManager.py,sha256=F7mkSvAttAaMHRvnDcxnV2K1D_sK644BCSrE
|
|
41
41
|
KekikStream/Managers/PluginManager.py,sha256=YDBLHB_Fh79A3Pei0ny2KLVY4VSihdNiKBh_w5tBl-0,637
|
42
42
|
KekikStream/Managers/UIManager.py,sha256=OrGxzbhRPTCqiLEXjipLb8ChF7saV3fvFIUXLKT9w6Q,1612
|
43
43
|
KekikStream/Managers/__init__.py,sha256=3085I_9Sa2L_Vq6Z-QvYUYn1BapkN4sQqBo8ITZoD_4,251
|
44
|
-
KekikStream/Plugins/DiziBox.py,sha256=
|
44
|
+
KekikStream/Plugins/DiziBox.py,sha256=ARzsao-r91c3PVV_3-NCLvNcVRSIxjlGdWl_3-1Q6Mo,5722
|
45
45
|
KekikStream/Plugins/FilmMakinesi.py,sha256=rz8TQeL41PJbeEmksgPHIhp6J-4vbSCBTeEH0ukExz4,2822
|
46
|
-
KekikStream/Plugins/FullHDFilmizlesene.py,sha256=
|
46
|
+
KekikStream/Plugins/FullHDFilmizlesene.py,sha256=MKTaDQaatI_XuJk-NFj3xqsTXO5bFnoy4-I5tCL0A-M,3106
|
47
47
|
KekikStream/Plugins/JetFilmizle.py,sha256=DPdvTEns8r2MI9pHY8d9EEsUZmlQU7N2C9yr8ox80qU,4016
|
48
48
|
KekikStream/Plugins/SezonlukDizi.py,sha256=5BZVzQ2eQtymHxO0bzjA2ho4FFNahPFQly4hoHuH8lo,4441
|
49
49
|
KekikStream/Plugins/SineWix.py,sha256=ZtcIwPW0ONGkSjT7Ye8b71RWdHZMUZefX-JTWu6uGSs,4854
|
50
50
|
KekikStream/Plugins/UgurFilm.py,sha256=yYXee5uxwNnPqFJZ6s6cRkmUyqS3Vv8x-iesPalc4j4,2930
|
51
|
-
KekikStream-0.3.
|
52
|
-
KekikStream-0.3.
|
53
|
-
KekikStream-0.3.
|
54
|
-
KekikStream-0.3.
|
55
|
-
KekikStream-0.3.
|
56
|
-
KekikStream-0.3.
|
51
|
+
KekikStream-0.3.7.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
52
|
+
KekikStream-0.3.7.dist-info/METADATA,sha256=z7V9PBvDmXcYGScDp3K2oNJR8YMOpdj_Zoe_F5m0iw0,3987
|
53
|
+
KekikStream-0.3.7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
54
|
+
KekikStream-0.3.7.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
|
55
|
+
KekikStream-0.3.7.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
|
56
|
+
KekikStream-0.3.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|