mirror of
https://github.com/timberjoegithub/GoogleScrape.git
synced 2026-07-22 00:19:48 +00:00
trying to sort of xls still
This commit is contained in:
@@ -453,7 +453,7 @@ def get_google_data(driver, local_outputs):
|
||||
visitdate = data.find_element(By.CSS_SELECTOR, 'span.rsqaWe').text
|
||||
except NoSuchElementException :
|
||||
visitdate = "Unknown"
|
||||
print(' Visited: ',visitdate, visitdate[:1])
|
||||
print(' Visited: ',visitdate)
|
||||
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()))
|
||||
|
||||
Reference in New Issue
Block a user