From e0ad973ef913d98db6beba9d90dacc5871ab90d3 Mon Sep 17 00:00:00 2001 From: John Spanidis Date: Thu, 28 May 2026 23:50:03 +0300 Subject: [PATCH] Update default.py 1. Updated DOM selector (to match existing webpage) 2. Updated logic to find the new provider's video links 3. Updated parsing to find only the actual VOD links specific to the listing (eg: not the "relevant" suggestions) --- plugin.video.cartoonsgr/default.py | 41 ++++++++++++++++++------------ 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/plugin.video.cartoonsgr/default.py b/plugin.video.cartoonsgr/default.py index dd6ba3b..fdff062 100644 --- a/plugin.video.cartoonsgr/default.py +++ b/plugin.video.cartoonsgr/default.py @@ -707,12 +707,11 @@ def gamatokids_top(url): # 21 pass views.selectView('movies', 'movie-view') - def gamato_links(url, name, poster, description): # 12 # try: url = quote(url, ':/.') data = six.ensure_text(requests.get(url).text, encoding='utf-8', errors='replace') - html = client.parseDOM(data, 'div', attrs={'id': 'content'})[0] + html = client.parseDOM(data, 'main', attrs={'id': 'content'})[0] # xbmc.log('DATA: {}'.format(html)) try: desc = re.findall(r'

(.+?)