From 504b4ebe45e92a02b548c8730fdc7504b7976791 Mon Sep 17 00:00:00 2001 From: CaptainT Date: Fri, 22 Dec 2017 15:51:12 +0100 Subject: [plugin.video.iplayerwww] 3.0.20 --- plugin.video.iplayerwww/addon.xml | 5 +- plugin.video.iplayerwww/resources/icon.png | Bin 27305 -> 21971 bytes .../resources/lib/ipwww_video.py | 104 +++++++++++++++++---- 3 files changed, 92 insertions(+), 17 deletions(-) diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml index 49292f4..8b4a6ff 100644 --- a/plugin.video.iplayerwww/addon.xml +++ b/plugin.video.iplayerwww/addon.xml @@ -1,5 +1,5 @@ - + @@ -22,6 +22,9 @@ resources/fanart.jpg +v3.0.20 +Fixed Most Popular and Highlights. + v3.0.19 Fixed Channel Highlights. diff --git a/plugin.video.iplayerwww/resources/icon.png b/plugin.video.iplayerwww/resources/icon.png index 7b111e8..5a87a0b 100644 Binary files a/plugin.video.iplayerwww/resources/icon.png and b/plugin.video.iplayerwww/resources/icon.png differ diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py index 1a4d0fa..3f9fe77 100644 --- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py +++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py @@ -1188,24 +1188,15 @@ def ListMainHighlights(highlights_url): url = 'https://www.bbc.co.uk' + href name = '' - if group_type == "popular": - name_match = re.search( - r'(.*?)', - programme, flags=(re.DOTALL | re.MULTILINE)) - else: - name_match = re.search( - r'item__title.+?>(.*?)', - programme, flags=(re.DOTALL | re.MULTILINE)) + name_match = re.search( + r'item__title.+?>(.*?)', + programme, flags=(re.DOTALL | re.MULTILINE)) if name_match: name = name_match.group(1) - if group_type == "popular": - subtitle_match = re.search( - r'item__subtitle.+?>(.*?)