webperf_core
webperf_core copied to clipboard
Test Improvement - Software - Video, Documents and Images
Feature/improvement
-
# TODO: Consider if we should read metadata from video # Extract metadata to see if we can get produced application and more, # look at: https://www.handinhandsweden.se/wp-content/uploads/se/2022/11/julvideo-startsida.mp4 # that has videolan references and more interesting stuff -
# TODO: Handle: pdf, excel, word, powerpoints (and more?) -
# if nof_tries == 0 and (exifdata == None or len(exifdata.keys()) == 0): # TODO: THIS MUST BE LOOKED AT FROM A 'COMPUTER BREACH' ARGUMENT, # THERE IS NO REFERENCE TO THIS SO IT COULD (WRONGLY) BE ARGUED THAT YOU ARE TRYING TO HACK # test_index = item['url'].rfind( # '.{0}'.format(item['name'])) # # test_index = item['url'].rfind( # # '.{0}?'.format(item['name'])) # if test_index > 0: # test_url = '{1}.{0}'.format( # item['name'], item['url'][:test_index]) # test = get_default_info( # test_url, 'enrich', item['precision'], item['category'], item['name'], item['version'], item['domain']) # enrich_data_from_images( # tmp_list, test, result_folder_name, nof_tries + 1)