Merge pull request 'DAP-86-hinzuf-gen-weiterer-streaming-domains' (#5) from DAP-86-hinzuf-gen-weiterer-streaming-domains into main
Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
@@ -314,7 +314,7 @@
|
||||
</setting>
|
||||
<setting id="global_search_api_all" type="boolean" label="30052">
|
||||
<level>0</level>
|
||||
<default>False</default>
|
||||
<default>True</default>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_api_all">False</dependency>
|
||||
</dependencies>
|
||||
@@ -325,12 +325,26 @@
|
||||
<default>kinokiste.eu</default>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="BS.to">bs.to</option>
|
||||
<option label="Cine.to">cine.to</option>
|
||||
<option label="Filmpalast.to">filmpalast.to</option>
|
||||
<option label="HDFilme.tv">hdfilme.tv</option>
|
||||
<option label="HDFilme">hdfilme.me</option>
|
||||
<option label="KinoDogs.to">kinodogs.to</option>
|
||||
<option label="Kinokiste">kinokiste.eu</option>
|
||||
<option label="Kinoz">kinoz.org</option>
|
||||
<option label="KinoGer.com">kinoger.com</option>
|
||||
<option label="KinoX.to">kinox.to</option>
|
||||
<option label="KKiste">kkiste.eu</option>
|
||||
<option label="KKiste.ag">kkiste.ag</option>
|
||||
<option label="Movie2k">movie2k.ch</option>
|
||||
<option label="Movie4k">movie4k.sx</option>
|
||||
<option label="Movie4k.org">movie4k.org</option>
|
||||
<option label="MovieTown.org">movietown.org</option>
|
||||
<option label="MovieDream.co">moviedream.co</option>
|
||||
<option label="S.to">s.to</option>
|
||||
<option label="Stream.to">stream.to</option>
|
||||
<option label="StreamWorld.to">streamworld.to</option>
|
||||
<option label="Streamcloud">streamcloud.sx</option>
|
||||
<option label="StreamKiste">streamkiste.sx</option>
|
||||
<option label="XCine">xcine.io</option>
|
||||
@@ -532,15 +546,20 @@
|
||||
</setting>
|
||||
<setting id="plugin_hdfilme.domain" type="string" label="30278" help="">
|
||||
<level>3</level>
|
||||
<default/>
|
||||
<default>hdfilme.garden</default>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="HDFilme.tv">hdfilme.tv</option>
|
||||
<option label="HDFilme.garden">hdfilme.garden</option>
|
||||
<option label="HDFilme.legal">hdfilme.legal</option>
|
||||
</options>
|
||||
<allowempty>true</allowempty>
|
||||
</constraints>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_hdfilme">false</dependency>
|
||||
<dependency type="visible" operator="!is" setting="plugin_hdfilme">false</dependency>
|
||||
</dependencies>
|
||||
<control type="edit" format="string">
|
||||
<control type="spinner" format="string">
|
||||
<heading>30278</heading>
|
||||
</control>
|
||||
</setting>
|
||||
@@ -576,15 +595,20 @@
|
||||
</setting>
|
||||
<setting id="plugin_hdfilme_1.domain" type="string" label="30278" help="">
|
||||
<level>3</level>
|
||||
<default/>
|
||||
<default>hdfilme.legal</default>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="HDFilme.tv">hdfilme.tv</option>
|
||||
<option label="HDFilme.legal">hdfilme.legal</option>
|
||||
<option label="HDFilme.my">hdfilme.my</option>
|
||||
</options>
|
||||
<allowempty>true</allowempty>
|
||||
</constraints>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_hdfilme_1">false</dependency>
|
||||
<dependency type="visible" operator="!is" setting="plugin_hdfilme_1">false</dependency>
|
||||
</dependencies>
|
||||
<control type="edit" format="string">
|
||||
<control type="spinner" format="string">
|
||||
<heading>30278</heading>
|
||||
</control>
|
||||
</setting>
|
||||
@@ -648,7 +672,7 @@
|
||||
</setting>
|
||||
<setting id="global_search_kinoger" type="boolean" label="30052">
|
||||
<level>0</level>
|
||||
<default>False</default>
|
||||
<default>True</default>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_kinoger">False</dependency>
|
||||
</dependencies>
|
||||
@@ -759,6 +783,7 @@
|
||||
<default>kinoz.to</default><default/>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="kinox.to">kinox.to</option>
|
||||
<option label="kinoz.to">kinoz.to</option>
|
||||
<option label="www12.kinoz.to">www12.kinoz.to</option>
|
||||
<option label="www13.kinoz.to">www13.kinoz.to</option>
|
||||
@@ -816,15 +841,19 @@
|
||||
</setting>
|
||||
<setting id="plugin_kkiste.domain" type="string" label="30278" help="">
|
||||
<level>3</level>
|
||||
<default/>
|
||||
<default>kkiste.eu</default>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="KKiste.ag">kkiste.ag</option>
|
||||
<option label="KKiste.eu">kkiste.eu</option>
|
||||
</options>
|
||||
<allowempty>true</allowempty>
|
||||
</constraints>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_kkiste">false</dependency>
|
||||
<dependency type="visible" operator="!is" setting="plugin_kkiste">false</dependency>
|
||||
</dependencies>
|
||||
<control type="edit" format="string">
|
||||
<control type="spinner" format="string">
|
||||
<heading>30278</heading>
|
||||
</control>
|
||||
</setting>
|
||||
@@ -992,15 +1021,19 @@
|
||||
</setting>
|
||||
<setting id="plugin_movie4k.domain" type="string" label="30278" help="">
|
||||
<level>3</level>
|
||||
<default/>
|
||||
<default>movie4k.sx</default>
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="Movie4k.org">movie4k.org</option>
|
||||
<option label="Movie4k.sx">movie4k.sx</option>
|
||||
</options>
|
||||
<allowempty>true</allowempty>
|
||||
</constraints>
|
||||
<dependencies>
|
||||
<dependency type="enable" operator="!is" setting="plugin_movie4k">false</dependency>
|
||||
<dependency type="visible" operator="!is" setting="plugin_movie4k">false</dependency>
|
||||
</dependencies>
|
||||
<control type="edit" format="string">
|
||||
<control type="spinner" format="string">
|
||||
<heading>30278</heading>
|
||||
</control>
|
||||
</setting>
|
||||
@@ -1055,6 +1088,7 @@
|
||||
<constraints>
|
||||
<options>
|
||||
<option label="S.to">s.to</option>
|
||||
<option label="stream.to">stream.to</option>
|
||||
<option label="SerienStream.to">serienstream.to</option>
|
||||
<option label="SerienStream.stream(VPN)">serienstream.stream</option>
|
||||
<option label="Proxy Server">186.2.175.5</option>
|
||||
@@ -1662,4 +1696,4 @@
|
||||
</group>
|
||||
</category>
|
||||
</section>
|
||||
</settings>
|
||||
</settings>
|
||||
|
||||
@@ -270,10 +270,33 @@ def showHosters():
|
||||
sHtmlContent = cRequestHandler(sUrl, ignoreErrors=True, caching=False).request()
|
||||
pattern = r"show[^>]\d,[^>][^>]'([^']+)"
|
||||
isMatch, aResult = cParser.parse(sHtmlContent, pattern)
|
||||
if not isMatch:
|
||||
isMatch, packed = cParser.parseSingleResult(sHtmlContent, r'(eval\s*\(function.*?)</script>')
|
||||
if isMatch:
|
||||
from resources.lib import jsunpacker
|
||||
sHtmlContent = jsunpacker.unpack(packed)
|
||||
isMatchM3u8, aResultM3u8 = cParser.parse(sHtmlContent, r'(https?://[^"\']+\.m3u8[^"\']*)')
|
||||
if isMatchM3u8:
|
||||
isMatch = True
|
||||
if not aResult:
|
||||
aResult = aResultM3u8
|
||||
else:
|
||||
for sM3u8Url in aResultM3u8:
|
||||
if sM3u8Url not in aResult:
|
||||
aResult.append(sM3u8Url)
|
||||
if isMatch:
|
||||
for sUrl in aResult:
|
||||
try:
|
||||
if 'kinoger.ru' in sUrl: continue
|
||||
if '.m3u8' in sUrl:
|
||||
hoster = {
|
||||
'link': sUrl + '|Referer=https%3A%2F%2Fkinoger.com%2F' + headers,
|
||||
'name': 'KinoGer.com [I][HLS][/I]',
|
||||
'quality': '720',
|
||||
'resolved': True
|
||||
}
|
||||
hosters.append(hoster)
|
||||
continue
|
||||
# oRequest = cRequestHandler(sUrl, caching=False, ignoreErrors=True)
|
||||
# oRequest.addHeaderEntry('Referer', 'https://kinoger.com/')
|
||||
# sHtmlContent = oRequest.request() # Durchsucht sHtml Content
|
||||
@@ -429,4 +452,4 @@ def content_decryptor(html_content,passphrase):
|
||||
# Return the decrypted data as a JSON object
|
||||
return json.loads(plain_text.decode())
|
||||
else:
|
||||
return None
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user