Use search query to find hi-res part images. Improve cache quality

This commit is contained in:
2024-01-05 20:03:13 -06:00
parent e35d41031a
commit 59f61f7ae3
4 changed files with 191 additions and 51 deletions

View File

@@ -48,14 +48,14 @@ def parse(filename, output_dir):
table_list[text_body] = table.df
table.to_html("table" + str(n) + ".html")
#table.to_html("table" + str(n) + ".html")
#print(table.df)
#camelot.plot(table, kind='grid').savefig("test" + str(n) + ".png")
n=n+1
#camelot.plot(tables[0], kind='grid').savefig("test.png")
tables.export(output_dir + '/techdata.csv', f='csv')
tables.export(output_dir + '/techdata.json', f='json')
# print(table_list)
# Extract Basic details - part name & description, image, etc