diff options
author | CaptainTK <CaptainTK@users.noreply.github.com> | 2017-07-24 19:52:46 +0200 |
---|---|---|
committer | learningit <scottyroscoe13@gmail.com> | 2017-07-24 13:52:46 -0400 |
commit | 641e8466a42f99874df0b15d55bc470a0a9db3ff (patch) | |
tree | be4ec80df22c5a265b7790daf3357ea8c484980e /plugin.video.iplayerwww | |
parent | b923f0c546f2b40974a007221c3c254328bc1b78 (diff) |
[plugin.video.iplayerwww] 3.0.13 (#1340)
Diffstat (limited to 'plugin.video.iplayerwww')
-rw-r--r-- | plugin.video.iplayerwww/addon.xml | 5 | ||||
-rw-r--r-- | plugin.video.iplayerwww/resources/lib/ipwww_video.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/plugin.video.iplayerwww/addon.xml b/plugin.video.iplayerwww/addon.xml index b770444..0b7ebf7 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.12" provider-name="CaptainT, Cas, ihurst, primaeval"> +<addon id="plugin.video.iplayerwww" name="iPlayer WWW" version="3.0.13" provider-name="CaptainT, Cas, ihurst, primaeval"> <requires> <import addon="xbmc.python" version="2.25.0"/> <import addon="script.module.requests" version="2.7.0"/> @@ -22,6 +22,9 @@ <fanart>resources/fanart.jpg</fanart> </assets> <news> +v3.0.13 +Fix for full URL for some programmes. + v3.0.12 Signed and AD streams must be treated separately. diff --git a/plugin.video.iplayerwww/resources/lib/ipwww_video.py b/plugin.video.iplayerwww/resources/lib/ipwww_video.py index b419d70..bb6b291 100644 --- a/plugin.video.iplayerwww/resources/lib/ipwww_video.py +++ b/plugin.video.iplayerwww/resources/lib/ipwww_video.py @@ -344,6 +344,8 @@ def ScrapeEpisodes(page_url): li, flags=(re.DOTALL | re.MULTILINE)) if url_match: url = url_match.group(1) + # Some strings already contain the full URL, need to work around this. + url = url.replace('http://www.bbc.co.uk','') if url: main_url = 'http://www.bbc.co.uk' + url |