Posts by thorII

    purtoppo su dreambox two immagine d.e.filmpertutti e cb01uno sono out da un po di tempo crying face

    I have trying change url in py file but new url didnt work. Need to fix structure of file .......


    class FilmPertutti(CBaseHostClass):


    def __init__(self):

    CBaseHostClass.__init__(self, {'history': 'FilmPertutti', 'cookie': 'FilmPertutti.cookie'})

    self.MAIN_URL = 'https://www.filmpertutti.sbs/'

    self.DEFAULT_ICON_URL = 'https://www.filmpertutti.sbs/wp-content/uploads/2021/01/favicon.ico'

    self.cacheLinks = {}


    def getPage(self, baseUrl, addParams={}, post_data=None):

    return self.cm.getPage(baseUrl, addParams, post_data)


    def listMain(self, cItem):

    printDBG("FilmPertutti.listMain")

    sts, data = self.getPage(self.getMainUrl())

    if not sts:

    return

    self.setMainUrl(self.cm.meta['url'])


    MAIN_CAT_TAB = [{'category': 'list_cats', 'title': 'Film', 'url': self.getFullUrl('/category/film/')},

    {'category': 'list_cats', 'title': 'Serie TV', 'url': self.getFullUrl('/category/serie-tv/')},

    {'category': 'list_items', 'title': 'Prime visioni', 'url': self.getFullUrl('/prime-visioni/')},

    {'category': 'list_items', 'title': 'Aggiornamenti Serie TV', 'url': self.getFullUrl('/aggiornamenti-serie-tv/')},

    {'category': 'list_items', 'title': 'Ripristini', 'url': self.getFullUrl('/ripristini/')},

    {'category': 'search', 'title': _('Search'), 'search_item': True},

    {'category': 'search_history', 'title': _('Search history'), }]

    self.listsTab(MAIN_CAT_TAB, cItem)


    it too much for my elementary pyton!!!

    I try to modify hostguardaserie with new url https://guardaserie.town but didn't work.


    def gettytul():

    return 'https://www.guardaserie.town/'



    class GuardaSerieClick(CBaseHostClass):


    def __init__(self):

    CBaseHostClass.__init__(self, {'history': 'guardaserie.town', 'cookie': 'guardaserie.town.cookie'})


    self.USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36'

    self.MAIN_URL = 'https://www.guardaserie.town/'


    self.HEADER = {'User-Agent': self.USER_AGENT, 'Accept': 'text/html', 'Accept-Encoding': 'gzip', 'Referer': self.MAIN_URL}

    self.AJAX_HEADER = MergeDicts(self.HEADER, {'X-Requested-With': 'XMLHttpRequest', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'})


    self.DEFAULT_ICON_URL = 'https://cdnimg.guardaserie.town/wp-content/themes/guardaserie/images/logogd.png'


    self.defaultParams = {'header': self.HEADER, 'use_cookie': True, 'load_cookie': True, 'save_cookie': True, 'cookiefile': self.COOKIE_FILE}


    def getPageCF(self, baseUrl, params={}, post_data=None):

    if params == {}:

    params = self.defaultParams

    params['cloudflare_params'] = {'domain': 'guardaserie.review', 'cookie_file': self.COOKIE_FILE, 'User-Agent': self.USER_AGENT}

    return self.cm.getPageCFProtection(baseUrl, params, post_data)


    def getPage(self, baseUrl, addParams={}, post_data=None):

    if addParams == {}:

    addParams = dict(self.defaultParams)

    return self.cm.getPage(baseUrl, addParams, post_data)


    def listMainMenu(self, cItem):

    printDBG("GuardaSerieClick.listMainMenu")

    params = MergeDicts(self.defaultParams, {'user-agent': self.USER_AGENT, 'referer': self.MAIN_URL, "accept-encoding": "gzip", "accept": "text/html"})


    sts, data = self.getPageCF(self.getMainUrl(), params)

    if not sts:

    return

    self.setMainUrl(self.cm.meta['url'])


    what's wrong???

    Hi Strike i have the pic and the prog (ghost.....) for the blocker.
    My card are in 9995 and the entitlements are like image.
    e3c18188eb7518.jpg


    Any solution???