This commit is contained in:
Joe Steele
2024-11-03 15:55:28 -05:00
parent f0f1eacfbd
commit 875d2f5c2b
+2 -1
View File
@@ -505,7 +505,8 @@ def get_google_data(driver, local_outputs):
except NoSuchElementException :
visitdate = "Unknown"
print(' Visited: ',visitdate)
if re.match('^[a-zA-Z]+', visitdate) is None and re.match('^[a-zA-Z]+', visitdate) is not None:
if re.match('^[a-zA-Z]+', visitdate) is None and re.match('^[a-zA-Z]+', visitdate) \
is not None:
#if visitdate[:1].isalpha:
newdate,newdate2,visitdate = get_wordpress_post_date_string(visitdate, str(datetime.now()))
print(' Visited altered to : ',visitdate)