diff options
Diffstat (limited to 'plugin.video.hak5/resources/lib/hak5_const.py')
-rw-r--r-- | plugin.video.hak5/resources/lib/hak5_const.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugin.video.hak5/resources/lib/hak5_const.py b/plugin.video.hak5/resources/lib/hak5_const.py new file mode 100644 index 0000000..129de87 --- /dev/null +++ b/plugin.video.hak5/resources/lib/hak5_const.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: UTF-8 -*- + +import os +import xbmcaddon + +# +# Constants +# +ADDON = "plugin.video.hak5" +SETTINGS = xbmcaddon.Addon() +LANGUAGE = SETTINGS.getLocalizedString +IMAGES_PATH = os.path.join(xbmcaddon.Addon().getAddonInfo('path'), 'resources', 'images') +HAK5RECENTLYADDEDURL = 'http://www.hak5.org/category/episodes' +HAK5SEASONSURLHTTP = 'http://www.hak5.org/category/episodes' +HAK5SEASONSURLHTTPS = 'https://www.hak5.org/category/episodes' +HAKTIKRECENTLYADDEDURL = 'http://www.hak5.org/category/episodes/haktip/page/001' +THREATWIRERECENTLYADDEDURL = 'http://www.hak5.org/category/episodes/threatwire/page/001' +TEKTHINGRECENTLYADDEDURL = 'http://www.hak5.org/category/episodes/tekthing/page/001' +PINEAPPLEUNIVERSITYRECENTLYADDEDURL = 'http://www.hak5.org/category/episodes/pineapple-university' +METASPLOITRECENTLYADDEDURL = 'http://www.hak5.org/category/episodes/metasploit-minute/page/001' +HEADERS = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'} +DATE = "2017-07-09" +VERSION = "1.0.0"
\ No newline at end of file |