diff --git a/channels/mondoserietv.json b/channels/mondoserietv.json index 7f9930cc..2f1a428e 100644 --- a/channels/mondoserietv.json +++ b/channels/mondoserietv.json @@ -7,5 +7,6 @@ "thumbnail": "https:\/\/mondoserietv.com\/wp-content\/uploads\/2018\/04\/logo.png", "bannermenu": "https:\/\/mondoserietv.com\/wp-content\/uploads\/2018\/04\/logo.png", "categories": ["movie","anime","tvshow","documentary"], + "not_active":["include_in_newest_anime","include_in_newest_documentary"], "settings": [] } diff --git a/channels/mondoserietv.py b/channels/mondoserietv.py index 3cbc0158..6b507d1e 100644 --- a/channels/mondoserietv.py +++ b/channels/mondoserietv.py @@ -19,10 +19,9 @@ headers = {'Referer': host} def mainlist(item): film = ['/lista-film', - ('Ultimi Film Aggiunti', ['/ultimi-film-aggiunti/', 'peliculas' , 'last'])] + ('Ultimi Film Aggiunti', ['/ultimi-film-aggiunti', 'peliculas' , 'last'])] tvshow = ['/lista-serie-tv', - ('last', ['', 'newest']), ('HD {TV}', ['/lista-serie-tv-in-altadefinizione']), ('Anni 50 60 70 80 {TV}',['/lista-serie-tv-anni-60-70-80']), ('Serie Italiane',['/lista-serie-tv-italiane'])] @@ -35,11 +34,20 @@ def mainlist(item): return locals() +@support.scrape def search(item, text): support.log(text) + if item.contentType == 'movie' or item.extra == 'movie': + action = 'findvideos' + else: + action = 'episodios' try: - item.search = text - return peliculas(item) + search = text + data = support.match(item, headers=headers)[1] + if 'lcp_nextlink' in data: + data += support.match(item, url=support.scrapertoolsV2.find_single_match(data, r'href="([^"]+)" title="[^"]+" class="lcp_nextlink"'), headers=headers)[1] + patron = r'