|
@@ -100,8 +100,9 @@ def get_meta_data(this_data, this_venue):
|
|
|
this_meta_data = this_meta_data.getText()
|
|
this_meta_data = this_meta_data.getText()
|
|
|
match = last_published_regex.search(this_meta_data)
|
|
match = last_published_regex.search(this_meta_data)
|
|
|
if match:
|
|
if match:
|
|
|
- # print(match[1])
|
|
|
|
|
- times[0] = match[1][:-5]
|
|
|
|
|
|
|
+ # print(this_venue.name)
|
|
|
|
|
+ # pprint(match)
|
|
|
|
|
+ times[0] = match.group(1)[:-5]
|
|
|
# times[0] = 'Thu 20-Jun-19 7:42AM'
|
|
# times[0] = 'Thu 20-Jun-19 7:42AM'
|
|
|
l_time = datetime.datetime.strptime(times[0], time_format)
|
|
l_time = datetime.datetime.strptime(times[0], time_format)
|
|
|
# print(aest.localize(l_time))
|
|
# print(aest.localize(l_time))
|
|
@@ -110,7 +111,7 @@ def get_meta_data(this_data, this_venue):
|
|
|
match = close_regex.search(this_meta_data)
|
|
match = close_regex.search(this_meta_data)
|
|
|
if match:
|
|
if match:
|
|
|
# print(match[1])
|
|
# print(match[1])
|
|
|
- times[2] = match[1][:-5]
|
|
|
|
|
|
|
+ times[2] = match.group(1)[:-5]
|
|
|
l_time = datetime.datetime.strptime(times[2], time_format)
|
|
l_time = datetime.datetime.strptime(times[2], time_format)
|
|
|
# print(aest.localize(l_time))
|
|
# print(aest.localize(l_time))
|
|
|
times[3] = model.convert_to_unixtime(aest.localize(l_time))
|
|
times[3] = model.convert_to_unixtime(aest.localize(l_time))
|