KekikStream 0.6.6__tar.gz → 0.6.8__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- kekikstream-0.6.8/KekikStream/Plugins/DiziYou.py +127 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/SineWix.py +2 -2
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/__init__.py +1 -1
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/PKG-INFO +1 -1
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/SOURCES.txt +1 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/PKG-INFO +1 -1
- {kekikstream-0.6.6 → kekikstream-0.6.8}/setup.py +1 -1
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/CLI/__init__.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/CLI/pypi_kontrol.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/ExtractorBase.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/ExtractorLoader.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/ExtractorModels.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/MediaHandler.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/PluginBase.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/PluginLoader.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/PluginModels.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Core/__init__.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/CloseLoad.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/ContentX.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/FourCX.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/FourPichive.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/FourPlayRu.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/HDStreamAble.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/Hotlinger.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/MailRu.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/MixPlayHD.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/Odnoklassniki.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/OkRuHTTP.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/OkRuSSL.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/PeaceMakerst.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/Pichive.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/PixelDrain.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/PlayRu.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/RapidVid.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/SibNet.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/Sobreatsesuyp.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/TRsTX.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/TauVideo.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/TurboImgz.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/VidMoly.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/VidMoxy.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Extractors/VideoSeyred.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Managers/ExtractorManager.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Managers/MediaManager.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Managers/PluginManager.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Managers/UIManager.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Managers/__init__.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/DiziBox.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/Dizilla.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/FilmMakinesi.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/FullHDFilmizlesene.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/JetFilmizle.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/SezonlukDizi.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/UgurFilm.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/Plugins/__RecTV.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/__main__.py +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream/requirements.txt +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/dependency_links.txt +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/entry_points.txt +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/requires.txt +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/KekikStream.egg-info/top_level.txt +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/LICENSE +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/MANIFEST.in +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/README.md +0 -0
- {kekikstream-0.6.6 → kekikstream-0.6.8}/setup.cfg +0 -0
@@ -0,0 +1,127 @@
|
|
1
|
+
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
|
+
|
3
|
+
from KekikStream.Core import PluginBase, SearchResult, SeriesInfo, Episode, Subtitle, ExtractResult
|
4
|
+
from parsel import Selector
|
5
|
+
import re
|
6
|
+
|
7
|
+
class DiziYou(PluginBase):
|
8
|
+
name = "DiziYou"
|
9
|
+
main_url = "https://www.diziyou.co"
|
10
|
+
|
11
|
+
async def search(self, query: str) -> list[SearchResult]:
|
12
|
+
istek = await self.oturum.get(f"{self.main_url}/?s={query}")
|
13
|
+
secici = Selector(istek.text)
|
14
|
+
|
15
|
+
return [
|
16
|
+
SearchResult(
|
17
|
+
title = afis.css("div#categorytitle a::text").get().strip(),
|
18
|
+
url = self.fix_url(afis.css("div#categorytitle a::attr(href)").get()),
|
19
|
+
poster = self.fix_url(afis.css("img::attr(src)").get()),
|
20
|
+
)
|
21
|
+
for afis in secici.css("div.incontent div#list-series")
|
22
|
+
]
|
23
|
+
|
24
|
+
async def load_item(self, url: str) -> SeriesInfo:
|
25
|
+
istek = await self.oturum.get(url)
|
26
|
+
secici = Selector(istek.text)
|
27
|
+
|
28
|
+
title = secici.css("h1::text").get().strip()
|
29
|
+
poster = self.fix_url(secici.css("div.category_image img::attr(src)").get().strip())
|
30
|
+
year = secici.xpath("//span[contains(., 'Yapım Yılı')]/following-sibling::text()[1]").get()
|
31
|
+
description = secici.css("div.diziyou_desc::text").get().strip()
|
32
|
+
tags = secici.css("div.genres a::text").getall()
|
33
|
+
rating = secici.xpath("//span[contains(., 'IMDB')]/following-sibling::text()[1]").get()
|
34
|
+
_actors = secici.xpath("//span[contains(., 'Oyuncular')]/following-sibling::text()[1]").get()
|
35
|
+
actors = [actor.strip() for actor in _actors.split(",")] if _actors else []
|
36
|
+
|
37
|
+
episodes = []
|
38
|
+
for it in secici.css("div.bolumust"):
|
39
|
+
ep_name = it.css("div.baslik::text").get().strip()
|
40
|
+
ep_href = it.xpath("ancestor::a/@href").get()
|
41
|
+
if not ep_name or not ep_href:
|
42
|
+
continue
|
43
|
+
|
44
|
+
ep_name_clean = it.css("div.bolumismi::text").get().strip().replace("(", "").replace(")", "").strip() if it.css("div.bolumismi::text").get() else ep_name
|
45
|
+
|
46
|
+
ep_episode = re.search(r"(\d+)\. Bölüm", ep_name)[1]
|
47
|
+
ep_season = re.search(r"(\d+)\. Sezon", ep_name)[1]
|
48
|
+
|
49
|
+
episode = Episode(
|
50
|
+
season = ep_season,
|
51
|
+
episode = ep_episode,
|
52
|
+
title = ep_name_clean,
|
53
|
+
url = ep_href,
|
54
|
+
)
|
55
|
+
|
56
|
+
episodes.append(episode)
|
57
|
+
|
58
|
+
return SeriesInfo(
|
59
|
+
url = url,
|
60
|
+
poster = poster,
|
61
|
+
title = title,
|
62
|
+
description = description,
|
63
|
+
tags = tags,
|
64
|
+
rating = rating,
|
65
|
+
year = year,
|
66
|
+
episodes = episodes,
|
67
|
+
actors = actors
|
68
|
+
)
|
69
|
+
|
70
|
+
async def load_links(self, url: str) -> list[str]:
|
71
|
+
istek = await self.oturum.get(url)
|
72
|
+
secici = Selector(istek.text)
|
73
|
+
|
74
|
+
item_title = secici.css("div.title h1::text").get().strip()
|
75
|
+
item_id = secici.css("iframe#diziyouPlayer::attr(src)").get().split("/")[-1].replace(".html", "")
|
76
|
+
|
77
|
+
subtitles = []
|
78
|
+
stream_urls = []
|
79
|
+
|
80
|
+
for secenek in secici.css("span.diziyouOption"):
|
81
|
+
opt_id = secenek.css("::attr(id)").get()
|
82
|
+
op_name = secenek.css("::text").get()
|
83
|
+
|
84
|
+
match opt_id:
|
85
|
+
case "turkceAltyazili":
|
86
|
+
subtitles.append(Subtitle(
|
87
|
+
name = op_name,
|
88
|
+
url = self.fix_url(f"https://storage.diziyou.co/subtitles/{item_id}/tr.vtt"),
|
89
|
+
))
|
90
|
+
veri = {
|
91
|
+
"dil": "Orjinal Dil",
|
92
|
+
"url": f"https://storage.diziyou.co/episodes/{item_id}/play.m3u8"
|
93
|
+
}
|
94
|
+
if veri not in stream_urls:
|
95
|
+
stream_urls.append(veri)
|
96
|
+
case "ingilizceAltyazili":
|
97
|
+
subtitles.append(Subtitle(
|
98
|
+
name = op_name,
|
99
|
+
url = self.fix_url(f"https://storage.diziyou.co/subtitles/{item_id}/en.vtt"),
|
100
|
+
))
|
101
|
+
veri = {
|
102
|
+
"dil": "Orjinal Dil",
|
103
|
+
"url": f"https://storage.diziyou.co/episodes/{item_id}/play.m3u8"
|
104
|
+
}
|
105
|
+
if veri not in stream_urls:
|
106
|
+
stream_urls.append(veri)
|
107
|
+
case "turkceDublaj":
|
108
|
+
stream_urls.append({
|
109
|
+
"dil": "Dublaj",
|
110
|
+
"url": f"https://storage.diziyou.co/episodes/{item_id}_tr/play.m3u8"
|
111
|
+
})
|
112
|
+
|
113
|
+
|
114
|
+
for stream in stream_urls:
|
115
|
+
self._data[stream.get("url")] = {
|
116
|
+
"name" : f"{self.name} | {stream.get('dil')} | {item_title}",
|
117
|
+
"ext_name" : f"{self.name} | {stream.get('dil')}",
|
118
|
+
"referer" : url,
|
119
|
+
"subtitles" : subtitles
|
120
|
+
}
|
121
|
+
|
122
|
+
return [stream.get("url") for stream in stream_urls]
|
123
|
+
|
124
|
+
async def play(self, name: str, url: str, referer: str, subtitles: list[Subtitle]):
|
125
|
+
extract_result = ExtractResult(name=name, url=url, referer=referer, subtitles=subtitles)
|
126
|
+
self.media_handler.title = name
|
127
|
+
self.media_handler.play_media(extract_result)
|
@@ -90,12 +90,12 @@ class SineWix(PluginBase):
|
|
90
90
|
org_title = veri.get("title")
|
91
91
|
alt_title = veri.get("original_name") or ""
|
92
92
|
title = f"{org_title} - {alt_title}" if (alt_title and org_title != alt_title) else org_title
|
93
|
-
title = f"{self.name} | {title}"
|
94
93
|
|
95
94
|
for video in veri.get("videos"):
|
96
95
|
video_link = video.get("link").split("_blank\">")[-1]
|
97
96
|
self._data[video_link] = {
|
98
|
-
"name" : title,
|
97
|
+
"name" : f"{self.name} | {title}",
|
98
|
+
"ext_name" : self.name,
|
99
99
|
"referer" : self.main_url,
|
100
100
|
"subtitles" : []
|
101
101
|
}
|
@@ -180,7 +180,7 @@ class KekikStream:
|
|
180
180
|
if not haritalama:
|
181
181
|
secilen_link = await self.arayuz_yonetici.select_from_list(
|
182
182
|
message = "Doğrudan oynatmak için bir bağlantı seçin:",
|
183
|
-
choices = [{"name":
|
183
|
+
choices = [{"name": value["ext_name"], "value": key} for key, value in self.suanki_eklenti._data.items()]
|
184
184
|
)
|
185
185
|
if secilen_link:
|
186
186
|
await self.medya_oynat(secilen_link)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.8
|
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
|
@@ -52,6 +52,7 @@ KekikStream/Managers/PluginManager.py
|
|
52
52
|
KekikStream/Managers/UIManager.py
|
53
53
|
KekikStream/Managers/__init__.py
|
54
54
|
KekikStream/Plugins/DiziBox.py
|
55
|
+
KekikStream/Plugins/DiziYou.py
|
55
56
|
KekikStream/Plugins/Dizilla.py
|
56
57
|
KekikStream/Plugins/FilmMakinesi.py
|
57
58
|
KekikStream/Plugins/FullHDFilmizlesene.py
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.8
|
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
|
@@ -6,7 +6,7 @@ from io import open
|
|
6
6
|
setup(
|
7
7
|
# ? Genel Bilgiler
|
8
8
|
name = "KekikStream",
|
9
|
-
version = "0.6.
|
9
|
+
version = "0.6.8",
|
10
10
|
url = "https://github.com/keyiflerolsun/KekikStream",
|
11
11
|
description = "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ı",
|
12
12
|
keywords = ["KekikStream", "KekikAkademi", "keyiflerolsun"],
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|