KekikStream 1.2.2__py3-none-any.whl → 1.2.3__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/{HdFilmCehennemi.py → HDFilmCehennemi.py} +52 -49
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/METADATA +1 -1
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/RECORD +7 -7
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/LICENSE +0 -0
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/WHEEL +0 -0
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/entry_points.txt +0 -0
- {kekikstream-1.2.2.dist-info → kekikstream-1.2.3.dist-info}/top_level.txt +0 -0
@@ -1,22 +1,22 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
3
|
from KekikStream.Core import PluginBase, SearchResult, MovieInfo, ExtractResult, Subtitle
|
4
|
-
from Kekik.Sifreleme import Packer, HexCodec
|
5
4
|
from parsel import Selector
|
6
|
-
import
|
5
|
+
import random, string
|
7
6
|
|
8
|
-
class
|
9
|
-
name = "
|
7
|
+
class HDFilmCehennemi(PluginBase):
|
8
|
+
name = "HDFilmCehennemi"
|
10
9
|
main_url = "https://www.hdfilmcehennemi.nl"
|
11
|
-
|
12
10
|
|
13
11
|
async def search(self, query: str) -> list[SearchResult]:
|
14
12
|
istek = await self.oturum.get(
|
15
13
|
url = f"{self.main_url}/search?q={query}",
|
16
|
-
headers = {
|
14
|
+
headers = {
|
15
|
+
"Referer" : f"{self.main_url}/",
|
16
|
+
"X-Requested-With" : "fetch",
|
17
|
+
"authority" : f"{self.main_url}"
|
18
|
+
}
|
17
19
|
)
|
18
|
-
|
19
|
-
secici = Selector(istek.text)
|
20
20
|
|
21
21
|
results = []
|
22
22
|
for veri in istek.json().get("results"):
|
@@ -48,13 +48,13 @@ class HdFilmCehennemi(PluginBase):
|
|
48
48
|
year = secici.css("div.post-info-year-country a::text").get().strip()
|
49
49
|
actors = secici.css("div.post-info-cast a > strong::text").getall()
|
50
50
|
duration = secici.css("div.post-info-duration::text").get().replace("dakika", "").strip()
|
51
|
+
|
51
52
|
|
52
|
-
duration_minutes = 0
|
53
53
|
try:
|
54
|
-
|
55
|
-
except Exception
|
56
|
-
|
57
|
-
|
54
|
+
duration_minutes = int(duration[2:-1])
|
55
|
+
except Exception:
|
56
|
+
duration_minutes = 0
|
57
|
+
|
58
58
|
return MovieInfo(
|
59
59
|
url = url,
|
60
60
|
poster = self.fix_url(poster),
|
@@ -68,7 +68,7 @@ class HdFilmCehennemi(PluginBase):
|
|
68
68
|
)
|
69
69
|
|
70
70
|
def generate_random_cookie(self):
|
71
|
-
return
|
71
|
+
return "".join(random.choices(string.ascii_letters + string.digits, k=16))
|
72
72
|
|
73
73
|
async def load_links(self, url: str) -> list[str]:
|
74
74
|
self._data.clear()
|
@@ -77,78 +77,81 @@ class HdFilmCehennemi(PluginBase):
|
|
77
77
|
secici = Selector(istek.text)
|
78
78
|
|
79
79
|
lang_code = secici.css("div.alternative-links::attr(data-lang)").get().upper()
|
80
|
-
buttons
|
81
|
-
|
80
|
+
buttons = secici.css("div.alternative-links > button")
|
81
|
+
|
82
82
|
link_list = []
|
83
|
-
|
83
|
+
|
84
84
|
for button in buttons:
|
85
|
-
source
|
85
|
+
source = button.css("button.alternative-link::text").get().replace("(HDrip Xbet)", "").strip() + " " + lang_code
|
86
86
|
video_id = button.css("button.alternative-link::attr(data-video)").get()
|
87
|
-
|
87
|
+
|
88
88
|
istek = await self.oturum.get(
|
89
89
|
url = f"{self.main_url}/video/{video_id}/",
|
90
|
-
headers = {
|
91
|
-
|
92
|
-
|
90
|
+
headers = {
|
91
|
+
"Referer" : f"{self.main_url}/",
|
92
|
+
"X-Requested-With" : "fetch",
|
93
|
+
"authority" : f"{self.main_url}"
|
94
|
+
}
|
93
95
|
)
|
94
96
|
|
95
|
-
data
|
96
|
-
secici
|
97
|
+
data = istek.json().get("data")
|
98
|
+
secici = Selector(data["html"])
|
97
99
|
iframe_url = secici.css("iframe::attr(src)").get() or secici.css("iframe::attr(data-src)").get()
|
98
|
-
|
100
|
+
|
99
101
|
if "?rapidrame_id=" in iframe_url:
|
100
102
|
# https://hdfilmcehennemi.mobi/video/embed/uQcCR9nhaNz/?rapidrame_id=j4b4kvc0s24l\
|
101
|
-
video_id = iframe_url.split(
|
103
|
+
video_id = iframe_url.split("=")[1]
|
102
104
|
else:
|
103
105
|
# https://www.hdfilmcehennemi.nl/rplayer/j4b4kvc0s24l/
|
104
|
-
video_id = iframe_url.split(
|
105
|
-
|
106
|
-
print(video_id)
|
106
|
+
video_id = iframe_url.split("/")[-1]
|
107
|
+
|
108
|
+
# print(video_id)
|
107
109
|
if(video_id):
|
108
110
|
break
|
109
111
|
|
110
112
|
# selected_quality: low
|
111
|
-
random_cookie = self.generate_random_cookie()
|
112
113
|
istek = await self.oturum.post(
|
113
|
-
|
114
|
-
|
115
|
-
"
|
116
|
-
"
|
117
|
-
|
118
|
-
|
119
|
-
|
114
|
+
url = "https://cehennempass.pw/process_quality_selection.php",
|
115
|
+
headers = {
|
116
|
+
"Referer" : f"https://cehennempass.pw/download/{video_id}",
|
117
|
+
"X-Requested-With" : "fetch",
|
118
|
+
"authority" : "cehennempass.pw",
|
119
|
+
"Cookie" : f"PHPSESSID={self.generate_random_cookie()}"
|
120
|
+
},
|
121
|
+
data = {"video_id": video_id, "selected_quality": "low"},
|
122
|
+
)
|
120
123
|
|
121
124
|
video_url = istek.json().get("download_link")
|
122
125
|
# print(video_url)
|
123
126
|
|
124
127
|
self._data[self.fix_url(video_url)] = {
|
125
|
-
"ext_name" : self.name,
|
128
|
+
"ext_name" : f"{self.name} | Düşük Kalite",
|
126
129
|
"name" : "Düşük Kalite",
|
127
130
|
"referer" : f"https://cehennempass.pw/download/{video_id}",
|
128
131
|
"subtitles" : []
|
129
132
|
}
|
130
133
|
|
131
134
|
# selected_quality: high
|
132
|
-
random_cookie = self.generate_random_cookie()
|
133
135
|
istek = await self.oturum.post(
|
134
|
-
|
135
|
-
|
136
|
-
"
|
137
|
-
"
|
138
|
-
|
139
|
-
|
140
|
-
|
136
|
+
url = "https://cehennempass.pw/process_quality_selection.php",
|
137
|
+
headers = {
|
138
|
+
"Referer" : f"https://cehennempass.pw/download/{video_id}",
|
139
|
+
"X-Requested-With" : "fetch",
|
140
|
+
"authority" : "cehennempass.pw",
|
141
|
+
"Cookie" : f"PHPSESSID={self.generate_random_cookie()}"
|
142
|
+
},
|
143
|
+
data = {"video_id": video_id, "selected_quality": "high"},
|
144
|
+
)
|
141
145
|
|
142
146
|
video_url = istek.json().get("download_link")
|
143
|
-
# print(video_url)
|
144
147
|
|
145
148
|
self._data[self.fix_url(video_url)] = {
|
146
|
-
"ext_name" : self.name,
|
149
|
+
"ext_name" : f"{self.name} | Yüksek Kalite",
|
147
150
|
"name" : "Yüksek Kalite",
|
148
151
|
"referer" : f"https://cehennempass.pw/download/{video_id}",
|
149
152
|
"subtitles" : []
|
150
153
|
}
|
151
|
-
|
154
|
+
|
152
155
|
return list(self._data.keys())
|
153
156
|
|
154
157
|
async def play(self, name: str, url: str, referer: str, subtitles: list[Subtitle]):
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.3
|
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
|
@@ -47,16 +47,16 @@ KekikStream/Plugins/DiziYou.py,sha256=2WaQZKa8NlBiuGWu3jUTPslXD2l5ALCAY5qnXwozpe
|
|
47
47
|
KekikStream/Plugins/Dizilla.py,sha256=XYc5zAjLsiEgCNMi6x1XXy8PpV8BHLgEyLitMoq_5a0,4257
|
48
48
|
KekikStream/Plugins/FilmMakinesi.py,sha256=rz8TQeL41PJbeEmksgPHIhp6J-4vbSCBTeEH0ukExz4,2822
|
49
49
|
KekikStream/Plugins/FullHDFilmizlesene.py,sha256=Fa0gRP_NoMfPC8HIKRxERjQVOv8Fyb-ayMJ2EooZ7BE,3080
|
50
|
-
KekikStream/Plugins/
|
50
|
+
KekikStream/Plugins/HDFilmCehennemi.py,sha256=btQF1DDxz8Nb3Cd6pXPD-FhTQG1WZ4ySl2dpF50OeaA,6676
|
51
51
|
KekikStream/Plugins/JetFilmizle.py,sha256=v2R4iDm_9VWNO2HTpawvfNElVdOoOF_4iPIquziLvhc,3916
|
52
52
|
KekikStream/Plugins/RecTV.py,sha256=TYpV6T7U8TkkHYB3XK0xqar0pKlULXdztvK4TDc9734,5106
|
53
53
|
KekikStream/Plugins/SezonlukDizi.py,sha256=VUyKAu2SlUCV4uTQfIr2BLLTus2-LOXPFF4rDHG1rs8,4444
|
54
54
|
KekikStream/Plugins/Shorten.py,sha256=kDQGmj7qvfdDyDkU__QGjx-FoGSgCOPxcA3veM2BGPk,8858
|
55
55
|
KekikStream/Plugins/SineWix.py,sha256=LHWX4hq-nbVOR0zDrBDNugoVb3CEFU5yD4jcRprzm4U,6838
|
56
56
|
KekikStream/Plugins/UgurFilm.py,sha256=rp6M7yjVljVWbGEAC9BB96W1wBsM-PdFbh5tcZ2ZhzI,2930
|
57
|
-
kekikstream-1.2.
|
58
|
-
kekikstream-1.2.
|
59
|
-
kekikstream-1.2.
|
60
|
-
kekikstream-1.2.
|
61
|
-
kekikstream-1.2.
|
62
|
-
kekikstream-1.2.
|
57
|
+
kekikstream-1.2.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
58
|
+
kekikstream-1.2.3.dist-info/METADATA,sha256=57HFfZQFP5zQ3fSGSU_6cpb3PC0GrIbieFO-sfOs9VI,4508
|
59
|
+
kekikstream-1.2.3.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
|
60
|
+
kekikstream-1.2.3.dist-info/entry_points.txt,sha256=dFwdiTx8djyehI0Gsz-rZwjAfZzUzoBSrmzRu9ubjJc,50
|
61
|
+
kekikstream-1.2.3.dist-info/top_level.txt,sha256=DNmGJDXl27Drdfobrak8KYLmocW_uznVYFJOzcjUgmY,12
|
62
|
+
kekikstream-1.2.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|