From 77cfb2d276b805085924519cfcc2016faa5a3470 Mon Sep 17 00:00:00 2001 From: CaptainTK Date: Mon, 5 Jun 2017 22:35:02 +0200 Subject: [plugin.video.iplayerwww] 3.0.9 (#1247) --- plugin.video.iplayerwww/addon.xml | 5 ++++- plugin.video.iplayerwww/resources/lib/ipwww_video.py | 7 +++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml index 7f52483..95dccd0 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.9 +Fixed Channel A-Z. + v3.0.8 Add support for 'technical-replacement' stream type. diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py index 3b24c85..243173d 100644 --- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py +++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py @@ -519,7 +519,7 @@ def ScrapeAtoZEpisodes(page_url): # NOTE remove inner li to match outer li #
  • - html = re.compile(r'
  • ', + html = re.compile(r'
  • ', flags=(re.DOTALL | re.MULTILINE)).sub('', html) #
  • @@ -557,7 +557,7 @@ def ScrapeAtoZEpisodes(page_url): #

    # Series 39: 14. Burton Constable 2

    subtitle_match = re.search( - r'

    \s*(.*?)\s*

    ', + r'<.+?class="list-item__programme-info__subtitle.+?">(.*?)<', li, flags=(re.DOTALL | re.MULTILINE)) if subtitle_match: subtitle = subtitle_match.group(1) @@ -574,14 +574,13 @@ def ScrapeAtoZEpisodes(page_url): if image: icon = "https://ichef.bbci.co.uk/images/ic/832x468/" + image + ".jpg" - type = None synopsis = '' #

    # Take an exclusive first look at this year’s candidates. #

    synopsis_match = re.search( - r'

    \s*(.*?)\s*

    ', + r'

    \s*(.*?)\s*

    ', li, flags=(re.DOTALL | re.MULTILINE)) if synopsis_match: synopsis = synopsis_match.group(1) -- cgit v1.2.3