diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 0df1d96..960b14f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,7 +3,9 @@
+
+
@@ -45,7 +47,7 @@
-
+
@@ -53,7 +55,7 @@
-
+
@@ -114,8 +116,8 @@
-
-
+
+
@@ -128,8 +130,8 @@
-
-
+
+
@@ -147,8 +149,11 @@
-
-
+
+
+
+
+
@@ -156,11 +161,11 @@
-
-
+
+
-
+
@@ -178,7 +183,11 @@
translation
+ xml:lang
+
+ {http://www.w3.org/XML/1998/namespace}lang
+
@@ -203,9 +212,9 @@
-
+
@@ -263,7 +272,7 @@
-
+
@@ -285,6 +294,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -331,9 +361,11 @@
+
+
@@ -371,7 +403,7 @@
-
+
@@ -430,8 +462,8 @@
-
-
+
+
@@ -443,13 +475,23 @@
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
@@ -460,19 +502,12 @@
-
-
+
+
-
-
-
-
-
-
-
diff --git a/goarch_api/client.py b/goarch_api/client.py
index e5c0fd2..473c11a 100644
--- a/goarch_api/client.py
+++ b/goarch_api/client.py
@@ -6,7 +6,7 @@ class HTTPClient:
def __init__(self):
self.session = requests.session()
- user_agent = 'goarch_api (https://github.com/Oikonomia/goarch_api 1.0.7), Python/'
+ user_agent = 'goarch_api (https://github.com/Oikonomia/goarch_api 1.0.8), Python/'
self.user_agent = f"{user_agent}{sys.version_info[0]}.{sys.version_info[1]}"
def request(self, method, path):
diff --git a/goarch_api/daily.py b/goarch_api/daily.py
index 8e19d47..74c2806 100644
--- a/goarch_api/daily.py
+++ b/goarch_api/daily.py
@@ -39,7 +39,7 @@ class Daily:
event = reading.find("event").text
translation = reading.find("translation")
- t_lang = translation.get("xml:lang")
+ t_lang = translation.get("{http://www.w3.org/XML/1998/namespace}lang")
t_title = translation.find("title").text
t_short_title = translation.find("shorttitle").text
diff --git a/goarch_api/lectionary.py b/goarch_api/lectionary.py
index c5e858b..0655f85 100644
--- a/goarch_api/lectionary.py
+++ b/goarch_api/lectionary.py
@@ -48,7 +48,7 @@ class Lectionary:
self.translations = []
for translation in tree.findall("translation"):
- lang = translation.get("xml:lang")
+ lang = translation.get("{http://www.w3.org/XML/1998/namespace}lang")
if lang != "ar": # because arabic and the html escape stuff doesn't really work
title = translation.find("title").text
diff --git a/goarch_api/saint.py b/goarch_api/saint.py
index bb69702..9244012 100644
--- a/goarch_api/saint.py
+++ b/goarch_api/saint.py
@@ -57,7 +57,7 @@ class Saint:
self.readings = []
for reading in tree.find("readings").iterchildren():
- lang = reading.get("xml:lang")
+ lang = reading.get("{http://www.w3.org/XML/1998/namespace}lang")
title = reading.find("title").text
short_title = reading.find("shorttitle").text
body = remove_html_tags(reading.find("body").text).strip()
@@ -77,7 +77,7 @@ class Saint:
tone = hymn.find("tone").text
translation = hymn.find("translation")
- t_lang = translation.get("xml:lang")
+ t_lang = translation.get("{http://www.w3.org/XML/1998/namespace}lang")
t_body = translation.find("body").text
t_copyright = translation.find("copyright").text
diff --git a/setup.py b/setup.py
index 709ae06..90934f5 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="goarch_api",
- version="1.0.7",
+ version="1.0.8",
author="Elliott Pardee",
author_email="me@vypr.xyz",
url="https://github.com/Oikonomia/goarch_api",