KekikStream 0.2.8__py3-none-any.whl → 0.2.9__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.
@@ -75,9 +75,33 @@ class DiziBox(PluginBase):
75
75
  results = []
76
76
 
77
77
  if "/player/king/king.php" in iframe_link:
78
- print(name, iframe_link)
78
+ iframe_link = iframe_link.replace("king.php?v=", "king.php?wmode=opaque&v=")
79
+ self.oturum.headers.update({"Referer": referer})
80
+
81
+ istek = await self.oturum.get(iframe_link)
82
+ secici = Selector(istek.text)
83
+ iframe = secici.css("div#Player iframe::attr(src)").get()
84
+
85
+ self.oturum.headers.update({"Referer": self.main_url})
86
+ istek = await self.oturum.get(iframe)
87
+
88
+ crypt_data = re.search(r"CryptoJS\.AES\.decrypt\(\"(.*)\",\"", istek.text).group(1)
89
+ crypt_pass = re.search(r"\",\"(.*)\"\);", istek.text).group(1)
90
+
91
+ results.append(CryptoJS.decrypt(crypt_pass, crypt_data))
92
+
79
93
  elif "/player/moly/moly.php" in iframe_link:
80
- print(name, iframe_link)
94
+ iframe_link = iframe_link.replace("moly.php?h=", "moly.php?wmode=opaque&h=")
95
+ self.oturum.headers.update({"Referer": referer})
96
+ istek = await self.oturum.get(iframe_link)
97
+
98
+ if atob_data := re.search(r"unescape\(\"(.*)\"\)", istek.text).group(1):
99
+ decoded_atob = urllib.parse.unquote(atob_data)
100
+ str_atob = base64.b64decode(decoded_atob).decode('utf-8')
101
+
102
+ if iframe := Selector(str_atob).css("div#Player iframe::attr(src)").get():
103
+ results.append(iframe)
104
+
81
105
  elif "/player/haydi.php" in iframe_link:
82
106
  okru_url = base64.b64decode(iframe_link.split("?v=")[-1]).decode("utf-8")
83
107
  results.append(okru_url)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: KekikStream
3
- Version: 0.2.8
3
+ Version: 0.2.9
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,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=zh8qbmI1RDwqBQAo32Okd9uuLFbnEIGgbnaytb6zYqU,4624
44
+ KekikStream/Plugins/DiziBox.py,sha256=G2v0ArIGgnOai92-PQ6qj8awQxc-tlOo_UYZs1YK4oU,5791
45
45
  KekikStream/Plugins/FilmMakinesi.py,sha256=g4LRDP5Atn97PqbgnEdm0-wjVdXaJIVk1Ru0F8B66Ws,2902
46
46
  KekikStream/Plugins/FullHDFilmizlesene.py,sha256=HJzHDXHhhMpvXxiD2SjpoZEYs7dmnPymE8EXCSvLKVo,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=U7ryNWpjSZJWuYlMGX1Be9uuyiM3SfuI9VJcEiXedNs,2960
51
- KekikStream-0.2.8.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
52
- KekikStream-0.2.8.dist-info/METADATA,sha256=pnnKXvIpKVjAl1v5qymb8jYVRyVnYjFT7BqJcWWyxAM,3987
53
- KekikStream-0.2.8.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
54
- KekikStream-0.2.8.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
55
- KekikStream-0.2.8.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
56
- KekikStream-0.2.8.dist-info/RECORD,,
51
+ KekikStream-0.2.9.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
52
+ KekikStream-0.2.9.dist-info/METADATA,sha256=CtKt_zVjdQzUUk1yyjfulCcc7o6pobvZFWUZZJWehIg,3987
53
+ KekikStream-0.2.9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
54
+ KekikStream-0.2.9.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
55
+ KekikStream-0.2.9.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
56
+ KekikStream-0.2.9.dist-info/RECORD,,