summaryrefslogtreecommitdiff
path: root/plugin.video.iplayerwww
diff options
context:
space:
mode:
authorCaptainTK <CaptainTK@users.noreply.github.com>2017-05-22 21:59:40 +0200
committerenen92 <enen92@users.noreply.github.com>2017-05-22 20:59:40 +0100
commit89adcdaa45ba3254610f88290591d99818d2b116 (patch)
treefdad415d4afdaeb25613b5dfff34e56bdf2c4dcc /plugin.video.iplayerwww
parent7c830731b9726245f709e6f1432e3282bd7526b5 (diff)
[plugin.video.iplayerwww] 3.0.6 (#1214)
Diffstat (limited to 'plugin.video.iplayerwww')
-rw-r--r--plugin.video.iplayerwww/addon.xml5
-rw-r--r--plugin.video.iplayerwww/resources/lib/ipwww_video.py5
2 files changed, 7 insertions, 3 deletions
diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml
index 60c123f..0494ab8 100644
--- a/plugin.video.iplayerwww/addon.xml
+++ b/plugin.video.iplayerwww/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.5" provider-name="CaptainT, Cas, ihurst, primaeval">
+<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.6" provider-name="CaptainT, Cas, ihurst, primaeval">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
<import addon="script.module.requests" version="2.7.0"/>
@@ -23,6 +23,9 @@
<fanart>resources/fanart.jpg</fanart>
</assets>
<news>
+v3.0.6
+Fixed broken Channel A-Z.
+
v3.0.5
Fixed Categories (yet again).
Adapted to new design of episode pages.
diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
index d341019..dcd4d26 100644
--- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py
+++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py
@@ -529,11 +529,12 @@ def ScrapeAtoZEpisodes(page_url):
name = ''
title = ''
#<h1 class="list-item__title typo typo--bold typo--goose">Antiques Road Trip</h1>
+ #<h2 class="list-item__title typo typo--bold typo--goose">A1: Britain's Longest Road</h2>
title_match = re.search(
- r'<h1 class="list-item__title.+?">\s*(.*?)\s*</h1>',
+ r'<.+?list-item__title.+?>(.*?)<',
li, flags=(re.DOTALL | re.MULTILINE))
if title_match:
- title = title_match.group(1)
+ title = title_match.group(1).strip()
name = title
subtitle = None