diff options
author | skipmodea1 <skipmodea1@outlook.com> | 2017-10-11 21:43:16 +0200 |
---|---|---|
committer | learningit <scottyroscoe13@gmail.com> | 2017-10-11 15:43:16 -0400 |
commit | f9a09137e968901c8bc5995f10212c1c2bac26e2 (patch) | |
tree | 093fd9f40bc24597e1d9fe7d466e1f7373298c7b /plugin.video.hak5/resources/lib/hak5_list_seasons.py | |
parent | f335d55bbd81d1442f88d1bc85bfc3783d3f0afb (diff) |
[plugin.video.hak5] 1.0.1 (#1453)
Diffstat (limited to 'plugin.video.hak5/resources/lib/hak5_list_seasons.py')
-rw-r--r-- | plugin.video.hak5/resources/lib/hak5_list_seasons.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin.video.hak5/resources/lib/hak5_list_seasons.py b/plugin.video.hak5/resources/lib/hak5_list_seasons.py index b0544aa..9b3388e 100644 --- a/plugin.video.hak5/resources/lib/hak5_list_seasons.py +++ b/plugin.video.hak5/resources/lib/hak5_list_seasons.py @@ -72,7 +72,8 @@ class Main: # xbmc.log("[ADDON] %s v%s (%s) debug mode, %s = %s" % ( # ADDON, VERSION, DATE, "html_source", str(html_source)), xbmc.LOGDEBUG) - seasons = soup.findAll('a', attrs={'href': re.compile("^" + HAK5SEASONSURLHTTPS)}) + #<a href="https://www.hak5.org/category/episodes/season_1" data-ss1507745229="1">Season 1</a> + seasons = soup.findAll('a', attrs={'href': re.compile("^" + "https://www.hak5.org/category/episodes/season")}) xbmc.log("[ADDON] %s v%s (%s) debug mode, %s = %s" % ( ADDON, VERSION, DATE, "len(seasons)", str(len(seasons))), xbmc.LOGDEBUG) |