KekikStream 0.7.14__tar.gz → 0.8.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of KekikStream might be problematic. Click here for more details.
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Extractor}/ExtractorLoader.py +2 -2
- {kekikstream-0.7.14/KekikStream/Managers → kekikstream-0.8.1/KekikStream/Core/Extractor}/ExtractorManager.py +2 -1
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Media}/MediaHandler.py +2 -2
- {kekikstream-0.7.14/KekikStream/Managers → kekikstream-0.8.1/KekikStream/Core/Media}/MediaManager.py +1 -1
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginBase.py +6 -6
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginLoader.py +3 -3
- {kekikstream-0.7.14/KekikStream/Managers → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginManager.py +2 -1
- {kekikstream-0.7.14/KekikStream/Managers → kekikstream-0.8.1/KekikStream/Core/UI}/UIManager.py +1 -1
- kekikstream-0.8.1/KekikStream/Core/__init__.py +16 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/RecTV.py +7 -7
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/SineWix.py +1 -2
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/__init__.py +2 -3
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/PKG-INFO +1 -1
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/SOURCES.txt +11 -12
- {kekikstream-0.7.14 → kekikstream-0.8.1}/PKG-INFO +1 -1
- {kekikstream-0.7.14 → kekikstream-0.8.1}/setup.py +1 -1
- kekikstream-0.7.14/KekikStream/Core/__init__.py +0 -9
- kekikstream-0.7.14/KekikStream/Managers/__init__.py +0 -6
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/CLI/__init__.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/CLI/pypi_kontrol.py +0 -0
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Extractor}/ExtractorBase.py +0 -0
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Extractor}/ExtractorModels.py +0 -0
- {kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginModels.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/CloseLoad.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/ContentX.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/FourCX.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/FourPichive.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/FourPlayRu.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/HDStreamAble.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/Hotlinger.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/MailRu.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/MixPlayHD.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/Odnoklassniki.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/OkRuHTTP.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/OkRuSSL.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/PeaceMakerst.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/Pichive.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/PixelDrain.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/PlayRu.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/RapidVid.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/SibNet.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/Sobreatsesuyp.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/TRsTX.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/TauVideo.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/TurboImgz.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/VidMoly.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/VidMoxy.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Extractors/VideoSeyred.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/DiziBox.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/DiziYou.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/Dizilla.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/FilmMakinesi.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/FullHDFilmizlesene.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/JetFilmizle.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/SezonlukDizi.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/Plugins/UgurFilm.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/__main__.py +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream/requirements.txt +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/dependency_links.txt +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/entry_points.txt +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/requires.txt +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/KekikStream.egg-info/top_level.txt +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/LICENSE +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/MANIFEST.in +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/README.md +0 -0
- {kekikstream-0.7.14 → kekikstream-0.8.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from
|
3
|
+
from ...CLI import konsol, cikis_yap
|
4
4
|
from .ExtractorBase import ExtractorBase
|
5
5
|
from pathlib import Path
|
6
6
|
import os, importlib.util
|
@@ -8,7 +8,7 @@ import os, importlib.util
|
|
8
8
|
class ExtractorLoader:
|
9
9
|
def __init__(self, extractors_dir: str):
|
10
10
|
self.local_extractors_dir = Path(extractors_dir)
|
11
|
-
self.global_extractors_dir = Path(__file__).parent.parent / extractors_dir
|
11
|
+
self.global_extractors_dir = Path(__file__).parent.parent.parent / extractors_dir
|
12
12
|
if not self.local_extractors_dir.exists() and not self.global_extractors_dir.exists():
|
13
13
|
konsol.log(f"[red][!] Extractor dizini bulunamadı: {self.global_extractors_dir}[/red]")
|
14
14
|
cikis_yap(False)
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from
|
3
|
+
from .ExtractorLoader import ExtractorLoader
|
4
|
+
from .ExtractorBase import ExtractorBase
|
4
5
|
|
5
6
|
class ExtractorManager:
|
6
7
|
def __init__(self, extractor_dir="Extractors"):
|
{kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Media}/MediaHandler.py
RENAMED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from
|
4
|
-
from .ExtractorModels import ExtractResult
|
3
|
+
from ...CLI import konsol
|
4
|
+
from ..Extractor.ExtractorModels import ExtractResult
|
5
5
|
import subprocess, os
|
6
6
|
|
7
7
|
class MediaHandler:
|
{kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginBase.py
RENAMED
@@ -1,11 +1,11 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from abc
|
4
|
-
from httpx
|
5
|
-
from cloudscraper
|
6
|
-
from .PluginModels
|
7
|
-
from .MediaHandler import MediaHandler
|
8
|
-
from urllib.parse
|
3
|
+
from abc import ABC, abstractmethod
|
4
|
+
from httpx import AsyncClient, Timeout
|
5
|
+
from cloudscraper import CloudScraper
|
6
|
+
from .PluginModels import SearchResult, MovieInfo
|
7
|
+
from ..Media.MediaHandler import MediaHandler
|
8
|
+
from urllib.parse import urljoin
|
9
9
|
import re
|
10
10
|
|
11
11
|
class PluginBase(ABC):
|
{kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginLoader.py
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from
|
3
|
+
from ...CLI import konsol, cikis_yap
|
4
4
|
from .PluginBase import PluginBase
|
5
5
|
from pathlib import Path
|
6
6
|
import os, importlib.util, traceback
|
@@ -8,9 +8,9 @@ import os, importlib.util, traceback
|
|
8
8
|
class PluginLoader:
|
9
9
|
def __init__(self, plugins_dir: str):
|
10
10
|
self.local_plugins_dir = Path(plugins_dir).resolve()
|
11
|
-
self.global_plugins_dir = Path(__file__).parent.parent / plugins_dir
|
11
|
+
self.global_plugins_dir = Path(__file__).parent.parent.parent / plugins_dir
|
12
12
|
if not self.local_plugins_dir.exists() and not self.global_plugins_dir.exists():
|
13
|
-
konsol.log(f"[red][!] Extractor dizini bulunamadı: {
|
13
|
+
konsol.log(f"[red][!] Extractor dizini bulunamadı: {plugins_dir}[/red]")
|
14
14
|
cikis_yap(False)
|
15
15
|
|
16
16
|
def load_all(self) -> dict[str, PluginBase]:
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
|
+
|
3
|
+
from .UI.UIManager import UIManager
|
4
|
+
|
5
|
+
from .Plugin.PluginManager import PluginManager
|
6
|
+
from .Plugin.PluginBase import PluginBase
|
7
|
+
from .Plugin.PluginLoader import PluginLoader
|
8
|
+
from .Plugin.PluginModels import SearchResult, MovieInfo, Episode, SeriesInfo
|
9
|
+
|
10
|
+
from .Extractor.ExtractorManager import ExtractorManager
|
11
|
+
from .Extractor.ExtractorBase import ExtractorBase
|
12
|
+
from .Extractor.ExtractorLoader import ExtractorLoader
|
13
|
+
from .Extractor.ExtractorModels import ExtractResult, Subtitle
|
14
|
+
|
15
|
+
from .Media.MediaManager import MediaManager
|
16
|
+
from .Media.MediaHandler import MediaHandler
|
@@ -1,10 +1,9 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from KekikStream.CLI
|
4
|
-
from KekikStream.Core
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from json import dumps, loads
|
3
|
+
from KekikStream.CLI import konsol
|
4
|
+
from KekikStream.Core import PluginBase, SearchResult, MovieInfo, Episode, SeriesInfo, ExtractResult, Subtitle
|
5
|
+
from httpx import AsyncClient
|
6
|
+
from json import dumps, loads
|
8
7
|
import re
|
9
8
|
|
10
9
|
|
@@ -17,6 +16,8 @@ class RecTV(PluginBase):
|
|
17
16
|
http2.headers.update({"user-agent": "okhttp/4.12.0"})
|
18
17
|
|
19
18
|
async def search(self, query: str) -> list[SearchResult]:
|
19
|
+
self.media_handler.headers.update({"User-Agent": "googleusercontent"})
|
20
|
+
|
20
21
|
istek = await self.http2.get(f"{self.main_url}/api/search/{query}/{self.sw_key}/")
|
21
22
|
|
22
23
|
kanallar = istek.json().get("channels")
|
@@ -48,7 +49,7 @@ class RecTV(PluginBase):
|
|
48
49
|
ep_model = Episode(
|
49
50
|
season = int(re.search(r"(\d+)\.S", season.get("title")).group(1)) if re.search(r"(\d+)\.S", season.get("title")) else 1,
|
50
51
|
episode = int(re.search(r"Bölüm (\d+)", episode.get("title")).group(1)) if re.search(r"Bölüm (\d+)", episode.get("title")) else 1,
|
51
|
-
title =
|
52
|
+
title = season.get("title"),
|
52
53
|
url = self.fix_url(episode.get("sources")[0].get("url")),
|
53
54
|
)
|
54
55
|
|
@@ -105,7 +106,6 @@ class RecTV(PluginBase):
|
|
105
106
|
}
|
106
107
|
videolar.append(video_link)
|
107
108
|
|
108
|
-
self.media_handler.headers.update({"User-Agent": "googleusercontent"})
|
109
109
|
return videolar
|
110
110
|
|
111
111
|
async def play(self, name: str, url: str, referer: str, subtitles: list[Subtitle]):
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
|
-
from KekikStream.Core
|
4
|
-
from KekikStream.Core.ExtractorModels import ExtractResult, Subtitle
|
3
|
+
from KekikStream.Core import PluginBase, SearchResult, MovieInfo, Episode, SeriesInfo, ExtractResult, Subtitle
|
5
4
|
|
6
5
|
class SineWix(PluginBase):
|
7
6
|
name = "SineWix"
|
@@ -1,8 +1,7 @@
|
|
1
1
|
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
2
|
|
3
3
|
from .CLI import konsol, cikis_yap, hata_yakala, pypi_kontrol_guncelle
|
4
|
-
from .
|
5
|
-
from .Core import PluginBase, ExtractorBase, SeriesInfo
|
4
|
+
from .Core import PluginManager, ExtractorManager, UIManager, MediaManager, PluginBase, ExtractorBase, SeriesInfo
|
6
5
|
from asyncio import run
|
7
6
|
from contextlib import suppress
|
8
7
|
|
@@ -180,7 +179,7 @@ class KekikStream:
|
|
180
179
|
if not haritalama:
|
181
180
|
secilen_link = await self.arayuz_yonetici.select_from_list(
|
182
181
|
message = "Doğrudan oynatmak için bir bağlantı seçin:",
|
183
|
-
choices = [{"name": value["ext_name"], "value": key} for key, value in self.suanki_eklenti._data.items()]
|
182
|
+
choices = [{"name": value["ext_name"], "value": key} for key, value in self.suanki_eklenti._data.items() if key in baglantilar]
|
184
183
|
)
|
185
184
|
if secilen_link:
|
186
185
|
await self.medya_oynat(secilen_link)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.8.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
|
@@ -13,14 +13,18 @@ KekikStream.egg-info/requires.txt
|
|
13
13
|
KekikStream.egg-info/top_level.txt
|
14
14
|
KekikStream/CLI/__init__.py
|
15
15
|
KekikStream/CLI/pypi_kontrol.py
|
16
|
-
KekikStream/Core/ExtractorBase.py
|
17
|
-
KekikStream/Core/ExtractorLoader.py
|
18
|
-
KekikStream/Core/ExtractorModels.py
|
19
|
-
KekikStream/Core/MediaHandler.py
|
20
|
-
KekikStream/Core/PluginBase.py
|
21
|
-
KekikStream/Core/PluginLoader.py
|
22
|
-
KekikStream/Core/PluginModels.py
|
23
16
|
KekikStream/Core/__init__.py
|
17
|
+
KekikStream/Core/Extractor/ExtractorBase.py
|
18
|
+
KekikStream/Core/Extractor/ExtractorLoader.py
|
19
|
+
KekikStream/Core/Extractor/ExtractorManager.py
|
20
|
+
KekikStream/Core/Extractor/ExtractorModels.py
|
21
|
+
KekikStream/Core/Media/MediaHandler.py
|
22
|
+
KekikStream/Core/Media/MediaManager.py
|
23
|
+
KekikStream/Core/Plugin/PluginBase.py
|
24
|
+
KekikStream/Core/Plugin/PluginLoader.py
|
25
|
+
KekikStream/Core/Plugin/PluginManager.py
|
26
|
+
KekikStream/Core/Plugin/PluginModels.py
|
27
|
+
KekikStream/Core/UI/UIManager.py
|
24
28
|
KekikStream/Extractors/CloseLoad.py
|
25
29
|
KekikStream/Extractors/ContentX.py
|
26
30
|
KekikStream/Extractors/FourCX.py
|
@@ -46,11 +50,6 @@ KekikStream/Extractors/TurboImgz.py
|
|
46
50
|
KekikStream/Extractors/VidMoly.py
|
47
51
|
KekikStream/Extractors/VidMoxy.py
|
48
52
|
KekikStream/Extractors/VideoSeyred.py
|
49
|
-
KekikStream/Managers/ExtractorManager.py
|
50
|
-
KekikStream/Managers/MediaManager.py
|
51
|
-
KekikStream/Managers/PluginManager.py
|
52
|
-
KekikStream/Managers/UIManager.py
|
53
|
-
KekikStream/Managers/__init__.py
|
54
53
|
KekikStream/Plugins/DiziBox.py
|
55
54
|
KekikStream/Plugins/DiziYou.py
|
56
55
|
KekikStream/Plugins/Dizilla.py
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: KekikStream
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.8.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 = "0.
|
9
|
+
version = "0.8.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"],
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
|
2
|
-
|
3
|
-
from .PluginBase import PluginBase
|
4
|
-
from .PluginLoader import PluginLoader
|
5
|
-
from .PluginModels import SearchResult, MovieInfo, Episode, SeriesInfo
|
6
|
-
from .ExtractorBase import ExtractorBase
|
7
|
-
from .ExtractorLoader import ExtractorLoader
|
8
|
-
from .ExtractorModels import ExtractResult, Subtitle
|
9
|
-
from .MediaHandler import MediaHandler
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{kekikstream-0.7.14/KekikStream/Core → kekikstream-0.8.1/KekikStream/Core/Plugin}/PluginModels.py
RENAMED
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
|