KekikStream 2.2.9__tar.gz → 2.3.1__tar.gz
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-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/DiziYou.py +13 -3
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/Dizilla.py +19 -4
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/FilmMakinesi.py +57 -2
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/HDFilmCehennemi.py +3 -3
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/Sinefy.py +44 -33
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/PKG-INFO +1 -1
- {kekikstream-2.2.9 → kekikstream-2.3.1}/PKG-INFO +1 -1
- {kekikstream-2.2.9 → kekikstream-2.3.1}/setup.py +1 -1
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/CLI/__init__.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/CLI/pypi_kontrol.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Extractor/ExtractorBase.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Extractor/ExtractorLoader.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Extractor/ExtractorManager.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Extractor/ExtractorModels.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Extractor/YTDLPCache.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Media/MediaHandler.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Media/MediaManager.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Plugin/PluginBase.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Plugin/PluginLoader.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Plugin/PluginManager.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/Plugin/PluginModels.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/UI/UIManager.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Core/__init__.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/CloseLoad.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/ContentX.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/DonilasPlay.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/DzenRu.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/ExPlay.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/Filemoon.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/HDPlayerSystem.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/JFVid.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/JetTv.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/MailRu.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/MixPlayHD.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/MixTiger.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/MolyStream.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/Odnoklassniki.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/PeaceMakerst.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/PixelDrain.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/PlayerFilmIzle.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/RapidVid.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/SetPlay.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/SetPrime.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/SibNet.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/Sobreatsesuyp.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/TRsTX.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/TauVideo.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/TurboImgz.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/TurkeyPlayer.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VCTPlay.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VidHide.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VidMoly.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VidMoxy.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VidPapi.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/VideoSeyred.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/YTDLP.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Extractors/YildizKisaFilm.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/BelgeselX.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/DiziBox.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/DiziPal.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/FilmBip.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/FilmModu.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/FullHDFilm.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/FullHDFilmizlesene.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/JetFilmizle.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/KultFilmler.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/RecTV.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/RoketDizi.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SelcukFlix.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SetFilmIzle.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SezonlukDizi.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SineWix.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SinemaCX.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/Sinezy.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/SuperFilmGeldi.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/Plugins/UgurFilm.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/__init__.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/__main__.py +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream/requirements.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/SOURCES.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/dependency_links.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/entry_points.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/requires.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/KekikStream.egg-info/top_level.txt +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/LICENSE +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/MANIFEST.in +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/README.md +0 -0
- {kekikstream-2.2.9 → kekikstream-2.3.1}/setup.cfg +0 -0
|
@@ -100,13 +100,23 @@ class DiziYou(PluginBase):
|
|
|
100
100
|
year = year_match.group(1)
|
|
101
101
|
|
|
102
102
|
desc_el = secici.css_first("div.diziyou_desc")
|
|
103
|
-
description =
|
|
103
|
+
description = None
|
|
104
|
+
if desc_el:
|
|
105
|
+
# HTML'i al ve script + meta div'lerini temizle
|
|
106
|
+
desc_html = desc_el.html
|
|
107
|
+
# Script taglarını kaldır
|
|
108
|
+
desc_html = re.sub(r"<script.*?</script>", "", desc_html, flags=re.DOTALL)
|
|
109
|
+
# div#icerikcat2 ve sonrasını kaldır (meta bilgileri içeriyor)
|
|
110
|
+
desc_html = re.sub(r"<div id=\"icerikcat2\".*", "", desc_html, flags=re.DOTALL)
|
|
111
|
+
# Kalan HTML'den text çıkar
|
|
112
|
+
clean_sel = HTMLParser(desc_html)
|
|
113
|
+
description = clean_sel.text(strip=True)
|
|
104
114
|
|
|
105
115
|
tags = [a.text(strip=True) for a in secici.css("div.genres a") if a.text(strip=True)]
|
|
106
116
|
|
|
107
|
-
# Rating - regex ile
|
|
117
|
+
# Rating - daha spesifik regex ile
|
|
108
118
|
rating = None
|
|
109
|
-
rating_match = re.search(r"IMDB
|
|
119
|
+
rating_match = re.search(r"IMDB\s*:\s*</span>([0-9.]+)", html_text, re.DOTALL | re.IGNORECASE)
|
|
110
120
|
if rating_match:
|
|
111
121
|
rating = rating_match.group(1)
|
|
112
122
|
|
|
@@ -6,6 +6,7 @@ from json import loads
|
|
|
6
6
|
from urllib.parse import urlparse, urlunparse
|
|
7
7
|
from Crypto.Cipher import AES
|
|
8
8
|
from base64 import b64decode
|
|
9
|
+
import re
|
|
9
10
|
|
|
10
11
|
class Dizilla(PluginBase):
|
|
11
12
|
name = "Dizilla"
|
|
@@ -45,7 +46,7 @@ class Dizilla(PluginBase):
|
|
|
45
46
|
category = category,
|
|
46
47
|
title = veri.get("original_title"),
|
|
47
48
|
url = self.fix_url(f"{self.main_url}/{veri.get('used_slug')}"),
|
|
48
|
-
poster = self.fix_url(veri.get("object_poster_url")),
|
|
49
|
+
poster = self.fix_poster_url(self.fix_url(veri.get("object_poster_url"))),
|
|
49
50
|
)
|
|
50
51
|
for veri in veriler
|
|
51
52
|
])
|
|
@@ -114,6 +115,20 @@ class Dizilla(PluginBase):
|
|
|
114
115
|
# JSON decode
|
|
115
116
|
return loads(decrypted.decode("utf-8"))
|
|
116
117
|
|
|
118
|
+
def fix_poster_url(self, url: str) -> str:
|
|
119
|
+
"""AMP CDN URL'lerini düzelt."""
|
|
120
|
+
if not url:
|
|
121
|
+
return url
|
|
122
|
+
# AMP CDN URL'lerini orijinal URL'ye çevir
|
|
123
|
+
# https://images-macellan-online.cdn.ampproject.org/i/s/images.macellan.online/...
|
|
124
|
+
# -> https://images.macellan.online/...
|
|
125
|
+
if "cdn.ampproject.org" in url:
|
|
126
|
+
# /i/s/ veya /ii/s/ gibi AMP prefix'lerinden sonraki kısmı al
|
|
127
|
+
match = re.search(r"cdn\.ampproject\.org/[^/]+/s/(.+)$", url)
|
|
128
|
+
if match:
|
|
129
|
+
return f"https://{match.group(1)}"
|
|
130
|
+
return url
|
|
131
|
+
|
|
117
132
|
async def search(self, query: str) -> list[SearchResult]:
|
|
118
133
|
arama_istek = await self.httpx.post(f"{self.main_url}/api/bg/searchcontent?searchterm={query}")
|
|
119
134
|
decrypted = await self.decrypt_response(arama_istek.json().get("response"))
|
|
@@ -123,7 +138,7 @@ class Dizilla(PluginBase):
|
|
|
123
138
|
SearchResult(
|
|
124
139
|
title = veri.get("object_name"),
|
|
125
140
|
url = self.fix_url(f"{self.main_url}/{veri.get('used_slug')}"),
|
|
126
|
-
poster = self.fix_url(veri.get("object_poster_url")),
|
|
141
|
+
poster = self.fix_poster_url(self.fix_url(veri.get("object_poster_url"))),
|
|
127
142
|
)
|
|
128
143
|
for veri in arama_veri
|
|
129
144
|
]
|
|
@@ -176,8 +191,8 @@ class Dizilla(PluginBase):
|
|
|
176
191
|
|
|
177
192
|
season_num = None
|
|
178
193
|
try:
|
|
179
|
-
# URL'den sezon numarasını çek: ...-sezon
|
|
180
|
-
season_match = re.search(r"
|
|
194
|
+
# URL'den sezon numarasını çek: ...-N-sezon formatı
|
|
195
|
+
season_match = re.search(r"-(\d+)-sezon", sezon_href)
|
|
181
196
|
if season_match:
|
|
182
197
|
season_num = int(season_match.group(1))
|
|
183
198
|
except:
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
|
2
2
|
|
|
3
|
-
from KekikStream.Core import PluginBase, MainPageResult, SearchResult, MovieInfo, ExtractResult
|
|
3
|
+
from KekikStream.Core import PluginBase, MainPageResult, SearchResult, MovieInfo, SeriesInfo, Episode, ExtractResult
|
|
4
4
|
from selectolax.parser import HTMLParser
|
|
5
|
+
import re
|
|
5
6
|
|
|
6
7
|
class FilmMakinesi(PluginBase):
|
|
7
8
|
name = "FilmMakinesi"
|
|
@@ -81,7 +82,7 @@ class FilmMakinesi(PluginBase):
|
|
|
81
82
|
|
|
82
83
|
return results
|
|
83
84
|
|
|
84
|
-
async def load_item(self, url: str) -> MovieInfo:
|
|
85
|
+
async def load_item(self, url: str) -> MovieInfo | SeriesInfo:
|
|
85
86
|
istek = await self.httpx.get(url)
|
|
86
87
|
secici = HTMLParser(istek.text)
|
|
87
88
|
|
|
@@ -115,6 +116,60 @@ class FilmMakinesi(PluginBase):
|
|
|
115
116
|
if len(parts) > 1:
|
|
116
117
|
duration = parts[1].strip()
|
|
117
118
|
|
|
119
|
+
# Dizi mi kontrol et - sezon/bölüm linkleri var mı?
|
|
120
|
+
episodes = []
|
|
121
|
+
all_links = secici.css("a[href]")
|
|
122
|
+
for link in all_links:
|
|
123
|
+
href = link.attrs.get("href", "")
|
|
124
|
+
match = re.search(r"/sezon-(\d+)/bolum-(\d+)", href)
|
|
125
|
+
if match:
|
|
126
|
+
season_no = int(match.group(1))
|
|
127
|
+
ep_no = int(match.group(2))
|
|
128
|
+
|
|
129
|
+
# Bölüm başlığını çıkar - text'ten gerçek ismi al
|
|
130
|
+
# Format: "22 Eylül 2014 / 44 dk /1. Sezon / 1. BölümPilot"
|
|
131
|
+
full_text = link.text(strip=True)
|
|
132
|
+
# "Bölüm" kelimesinden sonraki kısmı al
|
|
133
|
+
ep_title = ""
|
|
134
|
+
if "Bölüm" in full_text:
|
|
135
|
+
parts = full_text.split("Bölüm")
|
|
136
|
+
if len(parts) > 1:
|
|
137
|
+
ep_title = parts[-1].strip()
|
|
138
|
+
|
|
139
|
+
episodes.append(Episode(
|
|
140
|
+
season = season_no,
|
|
141
|
+
episode = ep_no,
|
|
142
|
+
title = ep_title,
|
|
143
|
+
url = self.fix_url(href)
|
|
144
|
+
))
|
|
145
|
+
|
|
146
|
+
# Bölümler varsa SeriesInfo döndür
|
|
147
|
+
if episodes:
|
|
148
|
+
# Tekrar eden bölümleri kaldır
|
|
149
|
+
seen = set()
|
|
150
|
+
unique_episodes = []
|
|
151
|
+
for ep in episodes:
|
|
152
|
+
key = (ep.season, ep.episode)
|
|
153
|
+
if key not in seen:
|
|
154
|
+
seen.add(key)
|
|
155
|
+
unique_episodes.append(ep)
|
|
156
|
+
|
|
157
|
+
# Sırala
|
|
158
|
+
unique_episodes.sort(key=lambda x: (x.season or 0, x.episode or 0))
|
|
159
|
+
|
|
160
|
+
return SeriesInfo(
|
|
161
|
+
url = url,
|
|
162
|
+
poster = self.fix_url(poster) if poster else None,
|
|
163
|
+
title = self.clean_title(title),
|
|
164
|
+
description = description,
|
|
165
|
+
tags = tags,
|
|
166
|
+
rating = rating,
|
|
167
|
+
year = year,
|
|
168
|
+
actors = actors,
|
|
169
|
+
duration = duration,
|
|
170
|
+
episodes = unique_episodes
|
|
171
|
+
)
|
|
172
|
+
|
|
118
173
|
return MovieInfo(
|
|
119
174
|
url = url,
|
|
120
175
|
poster = self.fix_url(poster) if poster else None,
|
|
@@ -72,14 +72,14 @@ class HDFilmCehennemi(PluginBase):
|
|
|
72
72
|
title = title_el.text(strip=True) if title_el else None
|
|
73
73
|
href = link_el.attrs.get("href") if link_el else None
|
|
74
74
|
poster = (img_el.attrs.get("data-src") or img_el.attrs.get("src")) if img_el else None
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
if title and href:
|
|
77
77
|
results.append(SearchResult(
|
|
78
78
|
title = title,
|
|
79
79
|
url = self.fix_url(href),
|
|
80
|
-
poster = self.fix_url(poster) if poster else None,
|
|
80
|
+
poster = self.fix_url(poster).replace("/thumb/", "/list/") if poster else None,
|
|
81
81
|
))
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
return results
|
|
84
84
|
|
|
85
85
|
async def load_item(self, url: str) -> MovieInfo | SeriesInfo:
|
|
@@ -175,49 +175,60 @@ class Sinefy(PluginBase):
|
|
|
175
175
|
year = year_el.text(strip=True) if year_el else None
|
|
176
176
|
|
|
177
177
|
episodes = []
|
|
178
|
-
|
|
178
|
+
episodes_box = sel.css_first("section.episodes-box")
|
|
179
179
|
|
|
180
|
-
if
|
|
181
|
-
#
|
|
182
|
-
|
|
183
|
-
menu = sel.css("div.ui.vertical.fluid.tabular.menu a")
|
|
184
|
-
for link in menu:
|
|
185
|
-
href = link.attrs.get("href")
|
|
186
|
-
if href:
|
|
187
|
-
season_links.append(self.fix_url(href))
|
|
180
|
+
if episodes_box:
|
|
181
|
+
# Sezon menüsünden sezon linklerini al
|
|
182
|
+
season_menu = episodes_box.css("div.ui.vertical.fluid.tabular.menu a.item")
|
|
188
183
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
184
|
+
# Sezon tab içeriklerini al
|
|
185
|
+
season_tabs = episodes_box.css("div.ui.tab")
|
|
186
|
+
|
|
187
|
+
# Eğer birden fazla sezon varsa, her sezon tab'ından bölümleri çek
|
|
188
|
+
if season_tabs:
|
|
189
|
+
for idx, season_tab in enumerate(season_tabs):
|
|
190
|
+
# Sezon numarasını belirle
|
|
191
|
+
current_season_no = idx + 1
|
|
192
|
+
|
|
193
|
+
# Menüden sezon numarasını almaya çalış
|
|
194
|
+
if idx < len(season_menu):
|
|
195
|
+
menu_href = season_menu[idx].attrs.get("href", "")
|
|
196
|
+
match = re.search(r"sezon-(\d+)", menu_href)
|
|
197
|
+
if match:
|
|
198
|
+
current_season_no = int(match.group(1))
|
|
196
199
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
if match:
|
|
200
|
-
current_season_no = int(match.group(1))
|
|
200
|
+
# Bu sezon tab'ından bölüm linklerini çek
|
|
201
|
+
ep_links = season_tab.css("a[href*='bolum']")
|
|
201
202
|
|
|
203
|
+
seen_urls = set()
|
|
202
204
|
for ep_link in ep_links:
|
|
203
205
|
href = ep_link.attrs.get("href")
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
if not href or href in seen_urls:
|
|
207
|
+
continue
|
|
208
|
+
seen_urls.add(href)
|
|
206
209
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
# Bölüm numarasını URL'den çıkar
|
|
211
|
+
ep_no = 0
|
|
212
|
+
match_ep = re.search(r"bolum-(\d+)", href)
|
|
213
|
+
if match_ep:
|
|
214
|
+
ep_no = int(match_ep.group(1))
|
|
215
|
+
|
|
216
|
+
# Bölüm başlığını çıkar (önce title attribute, sonra text)
|
|
217
|
+
name = ep_link.attrs.get("title", "")
|
|
218
|
+
if not name:
|
|
219
|
+
name_el = ep_link.css_first("div.content div.header")
|
|
220
|
+
if name_el:
|
|
221
|
+
name = name_el.text(strip=True)
|
|
222
|
+
else:
|
|
223
|
+
name = ep_link.text(strip=True)
|
|
224
|
+
|
|
225
|
+
if href and ep_no > 0:
|
|
213
226
|
episodes.append(Episode(
|
|
214
|
-
season
|
|
227
|
+
season = current_season_no,
|
|
215
228
|
episode = ep_no,
|
|
216
|
-
title
|
|
217
|
-
url
|
|
229
|
+
title = name.strip() if name else f"{ep_no}. Bölüm",
|
|
230
|
+
url = self.fix_url(href)
|
|
218
231
|
))
|
|
219
|
-
except Exception:
|
|
220
|
-
pass
|
|
221
232
|
|
|
222
233
|
if episodes:
|
|
223
234
|
return SeriesInfo(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: KekikStream
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.1
|
|
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,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: KekikStream
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.1
|
|
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 = "2.
|
|
9
|
+
version = "2.3.1",
|
|
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
|
|
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
|