|
|
@@ -1,9 +1,12 @@
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
-# $Id:$
|
|
|
-# $Revision:$
|
|
|
-# $Date:$
|
|
|
-# $Log:$
|
|
|
+# $Id: blogsiread.py,v 1.3 2022/09/02 05:06:33 springm Exp springm $
|
|
|
+# $Revision: 1.3 $
|
|
|
+# $Date: 2022/09/02 05:06:33 $
|
|
|
+# $Log: blogsiread.py,v $
|
|
|
+# Revision 1.3 2022/09/02 05:06:33 springm
|
|
|
+# Summary: photoplacegallery hash jetzt vom Titel der ersten Ausstellung
|
|
|
+#
|
|
|
|
|
|
|
|
|
"""
|
|
|
@@ -181,6 +184,9 @@ def lfionlinede(b, domain, i):
|
|
|
p = re.search('titlebox30 cu-pointer[\'"] onclick=[\'"]window.location\s*=\s*[\'"](https://.*?)[\'"][\'"]>\s*<h1.*?>(.*?)</h1', html.decode('utf-8'), re.MULTILINE | re.DOTALL)
|
|
|
if p:
|
|
|
logger.debug(f"search result {p[1]} {p[2]}")
|
|
|
+ string2hash = f"""p[2]"""
|
|
|
+ m.update(string2hash.encode('utf-8'))
|
|
|
+ # hash = (m.hexdigest())
|
|
|
meta_values[domain] = { 'hash': hash,
|
|
|
'timestamp': timestamp - i,
|
|
|
'posttitle': p[2],
|