diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index 442584a..2fc87a0 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -81,9 +81,9 @@ if __name__ == '__main__': room_file_list = room_file_raw.split('§%§%') - print(room_list) - print(room) - print(room_file_list) + #print(room_list) + #print(room) + #print(room_file_list) room_list.append([room[:-4], room_file_list[0], room_file_list[1], room_file_list[2]]) with open(spider_directory + '/spiders/config.yaml' , "r") as stream: @@ -137,7 +137,7 @@ if __name__ == '__main__': data = dict({}) for room in room_list: - print(room[0]) + #print(room[0]) room_fdbs = room[2] room_tags = room[3] room_deadline_days = room[4] @@ -177,7 +177,7 @@ if __name__ == '__main__': for i in eval(iteration_var_list): try: - print(room_fdb, i) + #print(room_fdb, i) for key in data[room_fdb][i]: contains_tag = False period_data_formatted = dateutil.parser.parse(data[room_fdb][i][key]["period"]) @@ -244,8 +244,8 @@ if __name__ == '__main__': message_was_already_there = False for message in room_history_list: - print('message that gets checked with identifier ', message[:-1]) - print('the entry message identifier is:', entry_message_identifier) + #print('message that gets checked with identifier ', message[:-1]) + #print('the entry message identifier is:', entry_message_identifier) if url in message[:-1] or data[room_fdb][i][key]["name"] in message: message_was_already_there = True @@ -255,7 +255,7 @@ if __name__ == '__main__': if message_was_already_there == False and delta.days < int(room_deadline_days): - print('went into already there false') + #print('went into already there false') api.send_message(entry_message, room[0]) print('before writing') try: @@ -666,7 +666,7 @@ if __name__ == '__main__': days_to_check = int(room_deadline_days) - 1 print('calc of delta did now work, original error is:', e) #print('delta', delta, int(delta.days)) - if message_was_already_there == False and int(days_to_check) < int(room_deadline_days): + if message_was_already_there == False and int(days_to_check) > int(room_deadline_days): diff --git a/new_message_file.txt b/new_message_file.txt index 04f7af0..1faa600 100644 --- a/new_message_file.txt +++ b/new_message_file.txt @@ -1 +1 @@ -updaterooms§%§%8dABdxJm2j9WQomKu \ No newline at end of file +printrooms§%§%oFHwGiDZ3DNW7gFpg \ No newline at end of file diff --git a/roomhistories/65818946ebb39dd248d44c69.txt b/roomhistories/65818946ebb39dd248d44c69.txt index ce34a36..ee2896f 100644 --- a/roomhistories/65818946ebb39dd248d44c69.txt +++ b/roomhistories/65818946ebb39dd248d44c69.txt @@ -385,3 +385,194 @@ Leistungsbild: Technische Ausrüstung nach HOAI § 53 ff., AG 4, 5, HZ II, LPH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +