summaryrefslogtreecommitdiff
path: root/plugin.video.hak5/resources/lib/hak5_const.py
diff options
context:
space:
mode:
authorskipmodea1 <skipmodea1@outlook.com>2017-07-15 16:15:40 +0200
committerenen92 <enen92@users.noreply.github.com>2017-07-15 15:15:40 +0100
commita9e20f242224a0d501cd37ee3744f2b6497e5b59 (patch)
treedbf12853092ed4c8ac4aafe4023b86349d4567b7 /plugin.video.hak5/resources/lib/hak5_const.py
parent49d6dd033fc083c4ee6f69947861c0d923144041 (diff)
[plugin.video.hak5] 1.0.0 (#1318)
Diffstat (limited to 'plugin.video.hak5/resources/lib/hak5_const.py')
-rw-r--r--plugin.video.hak5/resources/lib/hak5_const.py24
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