KekikStream 0.6.3__py3-none-any.whl → 0.6.5__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 +12 -7
- KekikStream/Plugins/Dizilla.py +13 -2
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/METADATA +1 -1
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/RECORD +8 -8
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/LICENSE +0 -0
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/WHEEL +0 -0
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/entry_points.txt +0 -0
- {KekikStream-0.6.3.dist-info → KekikStream-0.6.5.dist-info}/top_level.txt +0 -0
KekikStream/Plugins/DiziBox.py
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
from KekikStream.Core import PluginBase, SearchResult, SeriesInfo, Episode
|
4
4
|
from Kekik.Sifreleme import CryptoJS
|
5
5
|
from parsel import Selector
|
6
|
-
import re, urllib.parse, base64
|
6
|
+
import re, urllib.parse, base64, contextlib, asyncio
|
7
7
|
|
8
8
|
class DiziBox(PluginBase):
|
9
9
|
name = "DiziBox"
|
@@ -95,14 +95,19 @@ class DiziBox(PluginBase):
|
|
95
95
|
elif "/player/moly/moly.php" in iframe_link:
|
96
96
|
iframe_link = iframe_link.replace("moly.php?h=", "moly.php?wmode=opaque&h=")
|
97
97
|
self.oturum.headers.update({"Referer": referer})
|
98
|
-
|
98
|
+
while True:
|
99
|
+
await asyncio.sleep(.3)
|
100
|
+
with contextlib.suppress(Exception):
|
101
|
+
istek = await self.oturum.get(iframe_link)
|
102
|
+
|
103
|
+
if atob_data := re.search(r"unescape\(\"(.*)\"\)", istek.text):
|
104
|
+
decoded_atob = urllib.parse.unquote(atob_data[1])
|
105
|
+
str_atob = base64.b64decode(decoded_atob).decode("utf-8")
|
99
106
|
|
100
|
-
|
101
|
-
|
102
|
-
str_atob = base64.b64decode(decoded_atob).decode("utf-8")
|
107
|
+
if iframe := Selector(str_atob).css("div#Player iframe::attr(src)").get():
|
108
|
+
results.append(iframe)
|
103
109
|
|
104
|
-
|
105
|
-
results.append(iframe)
|
110
|
+
break
|
106
111
|
|
107
112
|
elif "/player/haydi.php" in iframe_link:
|
108
113
|
okru_url = base64.b64decode(iframe_link.split("?v=")[-1]).decode("utf-8")
|
KekikStream/Plugins/Dizilla.py
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
from KekikStream.Core import PluginBase, SearchResult, SeriesInfo, Episode
|
4
4
|
from parsel import Selector
|
5
5
|
from json import loads
|
6
|
+
from urllib.parse import urlparse, urlunparse
|
6
7
|
|
7
8
|
class Dizilla(PluginBase):
|
8
9
|
name = "Dizilla"
|
9
|
-
main_url = "https://
|
10
|
+
main_url = "https://dizilla10.com"
|
10
11
|
|
11
12
|
async def search(self, query: str) -> list[SearchResult]:
|
12
13
|
ilk_istek = await self.oturum.get(self.main_url)
|
@@ -43,6 +44,16 @@ class Dizilla(PluginBase):
|
|
43
44
|
for veri in arama_veri
|
44
45
|
]
|
45
46
|
|
47
|
+
async def url_base_degis(self, eski_url:str, yeni_base:str) -> str:
|
48
|
+
parsed_url = urlparse(eski_url)
|
49
|
+
parsed_yeni_base = urlparse(yeni_base)
|
50
|
+
yeni_url = parsed_url._replace(
|
51
|
+
scheme = parsed_yeni_base.scheme,
|
52
|
+
netloc = parsed_yeni_base.netloc
|
53
|
+
)
|
54
|
+
|
55
|
+
return urlunparse(yeni_url)
|
56
|
+
|
46
57
|
async def load_item(self, url: str) -> SeriesInfo:
|
47
58
|
istek = await self.oturum.get(url)
|
48
59
|
secici = Selector(istek.text)
|
@@ -67,7 +78,7 @@ class Dizilla(PluginBase):
|
|
67
78
|
season = sezon.get("seasonNumber"),
|
68
79
|
episode = bolum.get("episodeNumber"),
|
69
80
|
title = bolum.get("name"),
|
70
|
-
url = bolum.get("url"),
|
81
|
+
url = await self.url_base_degis(bolum.get("url"), self.main_url),
|
71
82
|
))
|
72
83
|
|
73
84
|
return SeriesInfo(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.5
|
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
|
@@ -41,8 +41,8 @@ KekikStream/Managers/MediaManager.py,sha256=SPO85LchT7bJKSecmXd1FzCjg0rUT8s3B1wu
|
|
41
41
|
KekikStream/Managers/PluginManager.py,sha256=YDBLHB_Fh79A3Pei0ny2KLVY4VSihdNiKBh_w5tBl-0,637
|
42
42
|
KekikStream/Managers/UIManager.py,sha256=_jJSUDCsOvrByw55KdZD0ioE2U2XmTBuw1KIaPpmm6o,1676
|
43
43
|
KekikStream/Managers/__init__.py,sha256=3085I_9Sa2L_Vq6Z-QvYUYn1BapkN4sQqBo8ITZoD_4,251
|
44
|
-
KekikStream/Plugins/DiziBox.py,sha256=
|
45
|
-
KekikStream/Plugins/Dizilla.py,sha256=
|
44
|
+
KekikStream/Plugins/DiziBox.py,sha256=i_73VNXk2eM7xTg-6a0Xk2Yts2c9grWbRVVHhxFgoic,5935
|
45
|
+
KekikStream/Plugins/Dizilla.py,sha256=zJni028hCJlz2Xh8BXVrxHsZGJJ-oN88_yz4Fs9MaL4,4258
|
46
46
|
KekikStream/Plugins/FilmMakinesi.py,sha256=rz8TQeL41PJbeEmksgPHIhp6J-4vbSCBTeEH0ukExz4,2822
|
47
47
|
KekikStream/Plugins/FullHDFilmizlesene.py,sha256=Fa0gRP_NoMfPC8HIKRxERjQVOv8Fyb-ayMJ2EooZ7BE,3080
|
48
48
|
KekikStream/Plugins/JetFilmizle.py,sha256=FXkMSQtjYoxwIonjRENFa91rC42L_8SYRhjhuSgsu60,3919
|
@@ -50,9 +50,9 @@ KekikStream/Plugins/SezonlukDizi.py,sha256=5BZVzQ2eQtymHxO0bzjA2ho4FFNahPFQly4ho
|
|
50
50
|
KekikStream/Plugins/SineWix.py,sha256=iBtSl150N3GHWqHJDLVNFDSJff-00PHksQC1h2urR8w,4851
|
51
51
|
KekikStream/Plugins/UgurFilm.py,sha256=yYXee5uxwNnPqFJZ6s6cRkmUyqS3Vv8x-iesPalc4j4,2930
|
52
52
|
KekikStream/Plugins/__RecTV.py,sha256=TYPuab97yD7mwsu37cZ9_eG3mZSkmImBqlC9VgtetSk,4820
|
53
|
-
KekikStream-0.6.
|
54
|
-
KekikStream-0.6.
|
55
|
-
KekikStream-0.6.
|
56
|
-
KekikStream-0.6.
|
57
|
-
KekikStream-0.6.
|
58
|
-
KekikStream-0.6.
|
53
|
+
KekikStream-0.6.5.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
54
|
+
KekikStream-0.6.5.dist-info/METADATA,sha256=Eu1ZFD7IuFDYI6xYwWXLwOgSNsVKj_umEeTdoA0RzYo,3994
|
55
|
+
KekikStream-0.6.5.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
56
|
+
KekikStream-0.6.5.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
|
57
|
+
KekikStream-0.6.5.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
|
58
|
+
KekikStream-0.6.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|