예제 #1
0
파일: Yetiskin.py 프로젝트: noba3/KoTos
def main():
    try:
        html = xbmctools.sifre3()
        name = __settings__.getSetting("Name")
        login = __settings__.getSetting("Username")
        password = __settings__.getSetting("password")
        match = re.compile("<!-- XX-(.*?)-->").findall(html)
        print match
        for url in match:
            link = xbmctools.get_url(url)
            match = re.compile(
                '<a href="(.*?)" title=".*?">\n\t\t\t\t\t\t<img src="/assets/images/cover_front_catalogs/(.*?).jpg"'
            ).findall(link)
            for a, b in match:
                url1 = url.replace("/en/", "")
                url1 = url1 + a
                name = b
                xbmctools.addDir(
                    fileName, "[COLOR beige][B][COLOR blue]>>[/COLOR]" + name + "[/B][/COLOR]", "Recent(url)", url1, ""
                )

    except:
        showMessage(
            "[COLOR blue][B]MagicTR[/B][/COLOR]",
            "[COLOR blue][B]IP Adresiniz Kitlendi[/B][/COLOR]",
            "[COLOR red][B]Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]",
        )
        dialog = xbmcgui.DialogProgress()
        dialog1 = xbmcgui.Dialog()
        dialog1.ok(
            "[COLOR red][B]Hesabiniz Kitlendi[/B][/COLOR]",
            "[COLOR yellow][B] Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]",
        )
        sys.exit()
예제 #2
0
파일: Yetiskin.py 프로젝트: noba3/KoTos
def main():
    try:
        html = xbmctools.sifre3()
        name = __settings__.getSetting("Name")
        login = __settings__.getSetting("Username")
        password = __settings__.getSetting("password")
        match = re.compile('<!-- XX-(.*?)-->').findall(html)
        print match
        for url in match:
            link = xbmctools.get_url(url)
            match = re.compile(
                '<a href="(.*?)" title=".*?">\n\t\t\t\t\t\t<img src="/assets/images/cover_front_catalogs/(.*?).jpg"'
            ).findall(link)
            for a, b in match:
                url1 = url.replace('/en/', '')
                url1 = url1 + a
                name = b
                xbmctools.addDir(
                    fileName, '[COLOR beige][B][COLOR blue]>>[/COLOR]' + name +
                    '[/B][/COLOR]', "Recent(url)", url1, "")

    except:
        showMessage(
            "[COLOR blue][B]MagicTR[/B][/COLOR]",
            "[COLOR blue][B]IP Adresiniz Kitlendi[/B][/COLOR]",
            "[COLOR red][B]Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]"
        )
        dialog = xbmcgui.DialogProgress()
        dialog1 = xbmcgui.Dialog()
        dialog1.ok(
            '[COLOR red][B]Hesabiniz Kitlendi[/B][/COLOR]',
            '[COLOR yellow][B] Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]'
        )
        sys.exit()
예제 #3
0
파일: Dizi2.py 프로젝트: noba3/KoTos
def main():
    try:
        html = xbmctools.sifre3()
        name = __settings__.getSetting("Name")
        login = __settings__.getSetting("Username")
        password = __settings__.getSetting("password")
        match = re.compile("<!-- D2(.*?)-->").findall(html)
        for web in match:
            web = xbmctools.angel(base64.b64decode(web))
            tr = re.compile("<link>(.*?)</link>").findall(web)
            for url in tr:
                xbmctools.addDir(
                    fileName,
                    "[COLOR red][B]>>>>>>>[/B][/COLOR] [COLOR orange][B]Arama/Search[/B][/COLOR]",
                    "Arama()",
                    "",
                    "",
                    "special://home/addons/plugin.video.magicTR/fanart.jpg",
                )
                xbmctools.addDir(
                    fileName,
                    "[COLOR blue][B]>>[/B][/COLOR] [COLOR yellow][B]Enson Eklenen Diziler [/B][/COLOR]",
                    "Yeni(url)",
                    url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    "special://home/addons/plugin.video.magicTR/fanart.jpg",
                )
                # xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR lightblue][B]Yerli Diziler Hepsi[/B][/COLOR]', "Kategoriler()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                xbmctools.addDir(
                    fileName,
                    "[COLOR blue][B]>>[/B][/COLOR] [COLOR red][B]Yeni Yerli Diziler [/B][/COLOR]",
                    "YeniDiziler()",
                    url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    "special://home/addons/plugin.video.magicTR/fanart.jpg",
                )
                # xbmctools.addDir(fileName,'[COLOR blue][B]>>[/B][/COLOR] [COLOR orange][B]Eski Yerli Diziler [/B][/COLOR]', "EskiDiziler()",url,"special://home/addons/plugin.video.Test/resources/images/yeni.png",'special://home/addons/plugin.video.magicTR/fanart.jpg' )
                xbmctools.addDir(
                    fileName,
                    "[COLOR blue][B]>>[/B][/COLOR] [COLOR pink][B]Yarisma Programlari [/B][/COLOR]",
                    "Yarisma()",
                    url,
                    "special://home/addons/plugin.video.Test/resources/images/yeni.png",
                    "special://home/addons/plugin.video.magicTR/fanart.jpg",
                )

    except:
        showMessage(
            "[COLOR blue][B]MagicTR[/B][/COLOR]",
            "[COLOR blue][B]IP Adresiniz Kitlendi[/B][/COLOR]",
            "[COLOR red][B]Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]",
        )
        dialog = xbmcgui.DialogProgress()
        dialog1 = xbmcgui.Dialog()
        dialog1.ok(
            "[COLOR red][B]Hesabiniz Kitlendi[/B][/COLOR]",
            "[COLOR yellow][B] Lutfen Musteri Hizmetlerine Basvurun!! [email protected][/B][/COLOR]",
        )
        sys.exit()
예제 #4
0
파일: Dizi2.py 프로젝트: noba3/KoTos
def Arama():
    html = xbmctools.sifre3()
    name = __settings__.getSetting("Name")
    login = __settings__.getSetting("Username")
    password = __settings__.getSetting("password")
    if name in html:
        match = re.compile("<!-- D2(.*?)-->").findall(html)
        if match:
            for web in match:
                web = xbmctools.angel(base64.b64decode(web))
                tr = re.compile("<link>(.*?)</link>").findall(web)
                for dizi2 in tr:
                    keyboard = xbmc.Keyboard("", "Search", False)
                    keyboard.doModal()
                    if keyboard.isConfirmed():
                        query = keyboard.getText()
                        url = dizi2 + "/?s=" + query
                        Yeni(url)
예제 #5
0
파일: Dizi2.py 프로젝트: noba3/KoTos
def Yarisma():
    html = xbmctools.sifre3()
    name = __settings__.getSetting("Name")
    login = __settings__.getSetting("Username")
    password = __settings__.getSetting("password")
    if name in html:
        match = re.compile("<!--Yarisma(.*?)-->").findall(html)
        if match:
            for web in match:
                web = xbmctools.angel(base64.b64decode(str(web)))
                tr = re.compile("<link>(.*?)</link><isim>(.*?)</isim><resim>(.*?)</resim><thumb>(.*?)</thumb>").findall(
                    web
                )
                for url, name, thumbnail, thumb in tr:
                    name = fix.decode_fix(name)
                    xbmctools.addDir(
                        fileName,
                        "[COLOR beige][B][COLOR orange]>[/COLOR]" + name + "[/B][/COLOR]",
                        "Yeni(url)",
                        url,
                        thumbnail,
                        thumb,
                    )