diff --git a/fdb_spider_interface.py b/fdb_spider_interface.py index 70e0817..5e46697 100644 --- a/fdb_spider_interface.py +++ b/fdb_spider_interface.py @@ -285,7 +285,7 @@ if __name__ == '__main__': if message_was_already_there == False and delta.days < int(room_deadline_days): #print('went into already there false') api.send_message(entry_message, room[0]) - print('before writing') + #print('before writing') try: room_file = open('roomhistories/' + room[0] + '.txt', 'x') room_file.close() @@ -372,7 +372,7 @@ if __name__ == '__main__': try: room_name_add_tags = user_input_list[1] room_id_add_tags = name2id(room_name_add_tags) - print(room_id_add_tags) + #print(room_id_add_tags) except: room_id_add_tags = 'NONE' try: @@ -576,15 +576,15 @@ if __name__ == '__main__': for i in eval(iteration_var_list): try: - print(room_fdb, i) - print('oioioioioiOIOIOI') + #print(room_fdb, i) + #print('oioioioioiOIOIOI') for key in data[room_fdb][i]: contains_tag = False try: period_data_formatted = dateutil.parser.parse(data[room_fdb][i][key]["period"]) except Exception as e: period_data_formatted = 'NONE' - print('getting the period did not work for', room_fdb, i, key, ' ori err is:', e) + #print('getting the period did not work for', room_fdb, i, key, ' ori err is:', e) name_data_lower = [word.lower() for word in data[room_fdb][i][key]["name"].split(' ')] info_data_lower = [word.lower() for word in data[room_fdb][i][key]["info"].split(' ')] try: @@ -592,25 +592,25 @@ if __name__ == '__main__': except Exception as e: print(e) text_data_lower = ['NONE'] - print('got until ONE') + #print('got until ONE') tag_list = [] for tag in eval(room_tags): - print('got until TWO') + #print('got until TWO') if '_' in tag: ntags = tag.split('_') ntags_length = len(ntags) - print(ntags) + #print(ntags) ntag_count = 0 for ntag in ntags: - print('searching for ntag: ', ntag) + #print('searching for ntag: ', ntag) for nword in name_data_lower: if ntag.lower() in nword: if nword != '': ntag_count += 1 - print(ntag, ' ntag was found') + #print(ntag, ' ntag was found') break - print('ntag count is ', ntag_count, 'ntag_length is ', ntags_length) + #print('ntag count is ', ntag_count, 'ntag_length is ', ntags_length) if ntag_count == ntags_length: contains_tag = True tag_list.append('_'.join(ntags) + ' in name') @@ -640,15 +640,15 @@ if __name__ == '__main__': else: #print('------------------') - print(name_data_lower, info_data_lower, text_data_lower, room[0], room_tags) + #print(name_data_lower, info_data_lower, text_data_lower, room[0], room_tags) nword_contains_tag = False for nword in name_data_lower: - print(tag.lower(), nword) + #print(tag.lower(), nword) if tag.lower() in nword: - print('goooot heeeere') - print(nword) + #print('goooot heeeere') + #print(nword) if nword != '': - print('goot behind nword check') + #print('goot behind nword check') nword_contains_tag = True if nword_contains_tag == True: contains_tag = True @@ -658,7 +658,7 @@ if __name__ == '__main__': if tag.lower() in iword: if iword != '': iword_contains_tag = True - print('oioiOIOIOIoioioiOIOIword', iword) + #print('oioiOIOIOIoioioiOIOIword', iword) if iword_contains_tag == True: contains_tag = True tag_list.append(tag + ' in info') @@ -670,7 +670,7 @@ if __name__ == '__main__': if tword_contains_tag == True: contains_tag = True tag_list.append(tag + ' in text') - print('got until THREE') + #print('got until THREE') if contains_tag == True: #print('------------------') #print(name_data_lower, info_data_lower, text_data_lower) @@ -679,7 +679,7 @@ if __name__ == '__main__': except: url = data[room_fdb][i][key]["link"] - print('101110001101010010010101000111') + #print('101110001101010010010101000111') entry_message = '<' + url + '|' + data[room_fdb][i][key]["name"]+ '>' + '\n' + data[room_fdb][i][key]["info"] + '\n' + 'The period of the entry is:' + str(period_data_formatted) + '\n' + str(tag_list) entry_message_identifier = '<' + url + '|' + data[room_fdb][i][key]["name"]+ '>' @@ -687,7 +687,7 @@ if __name__ == '__main__': message_was_already_there = False for message in room_history_list: - print('message', message[:-1], 'identifier', entry_message_identifier) + #print('message', message[:-1], 'identifier', entry_message_identifier) if url in message[:-1] or data[room_fdb][i][key]["name"] in message: message_was_already_there = True diff --git a/new_message_file.txt b/new_message_file.txt index 308aaf3..13cce48 100644 --- a/new_message_file.txt +++ b/new_message_file.txt @@ -1 +1 @@ -updaterooms test42-2§%§%oM6dfcAhS3ydJoFNu \ No newline at end of file +updaterooms spider-teo§%§%sXJpNp5yxQymiZhMq \ No newline at end of file diff --git a/roomhistories/657c97e5ebb39dd248d38d51.txt b/roomhistories/657c97e5ebb39dd248d38d51.txt index 665331f..45d620a 100644 --- a/roomhistories/657c97e5ebb39dd248d38d51.txt +++ b/roomhistories/657c97e5ebb39dd248d38d51.txt @@ -12,3 +12,11 @@ + + + + + + + + diff --git a/roomhistories/65818946ebb39dd248d44c69.txt b/roomhistories/65818946ebb39dd248d44c69.txt index 5b7e585..229b54d 100644 --- a/roomhistories/65818946ebb39dd248d44c69.txt +++ b/roomhistories/65818946ebb39dd248d44c69.txt @@ -582,3 +582,611 @@ Leistungsbild: Technische Ausrüstung nach HOAI § 53 ff., AG 4, 5, HZ II, LPH + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mercell)> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/roomhistories/65cb6a3954f8a2bb1a3a8f43.txt b/roomhistories/65cb6a3954f8a2bb1a3a8f43.txt index 15f7ee8..8b443b3 100644 --- a/roomhistories/65cb6a3954f8a2bb1a3a8f43.txt +++ b/roomhistories/65cb6a3954f8a2bb1a3a8f43.txt @@ -1 +1,3 @@ + + diff --git a/roomhistories/65cb86d354f8a2bb1a3a9c6c.txt b/roomhistories/65cb86d354f8a2bb1a3a9c6c.txt new file mode 100644 index 0000000..687519a --- /dev/null +++ b/roomhistories/65cb86d354f8a2bb1a3a9c6c.txt @@ -0,0 +1,2784 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/roomhistories/65dcc11f54f8a2bb1a425d57.txt b/roomhistories/65dcc11f54f8a2bb1a425d57.txt new file mode 100644 index 0000000..bca6fec --- /dev/null +++ b/roomhistories/65dcc11f54f8a2bb1a425d57.txt @@ -0,0 +1,548 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/roomhistories/660d58e246c5800c72dd6f87.txt b/roomhistories/660d58e246c5800c72dd6f87.txt new file mode 100644 index 0000000..e69de29 diff --git a/roomhistories/660d5d1946c5800c72dd7135.txt b/roomhistories/660d5d1946c5800c72dd7135.txt new file mode 100644 index 0000000..e69de29 diff --git a/roomhistories/662ba98f2e91ccc9afcc8dd4.txt b/roomhistories/662ba98f2e91ccc9afcc8dd4.txt new file mode 100644 index 0000000..e69de29 diff --git a/roomhistories/662bacdd2e91ccc9afcc8dd7.txt b/roomhistories/662bacdd2e91ccc9afcc8dd7.txt new file mode 100644 index 0000000..e69de29