changed posting events slightly to be bold, updated pipeline to not accidentally delete wrong event, updated scraper to skip leader field but also handle if its not present at all

This commit is contained in:
jenz
2022-06-20 21:01:10 +02:00
parent 23a9c1e41c
commit 0c45287ae6
3 changed files with 8 additions and 4 deletions
+5 -2
View File
@@ -60,8 +60,11 @@ class unloze_spider(scrapy.Spider):
if index == 2:
event_date = r
if index == 3:
event_time = r[:-1]
if index == 4:
event_time = r
#just skipping the leader part on ze
if index == 4 and '27015' not in event_server:
event_reward = r
if index == 5 and '27015' in event_server:
event_reward = r
index += 1
event_maps = ""