更新2025年12月12日的数据
This commit is contained in:
5840
2025年12月12日185248.txt
Normal file
5840
2025年12月12日185248.txt
Normal file
File diff suppressed because it is too large
Load Diff
14391
integrated_product_system.log
Normal file
14391
integrated_product_system.log
Normal file
File diff suppressed because it is too large
Load Diff
BIN
modal_window_debug.png
Normal file
BIN
modal_window_debug.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 246 KiB |
Binary file not shown.
@@ -137,11 +137,34 @@ class SQLiteWebViewer:
|
||||
cursor.execute(count_query, query_params)
|
||||
total_count = cursor.fetchone()[0]
|
||||
|
||||
# 检查是否有日期相关字段,用于排序
|
||||
date_columns = []
|
||||
# 常见的日期字段名称
|
||||
date_field_names = ['created_at', 'updated_at', 'date', 'publish_date', 'release_date']
|
||||
for col_info in columns_info:
|
||||
field_name = col_info[1]
|
||||
# 检查字段名是否包含日期相关关键词
|
||||
if any(keyword in field_name.lower() for keyword in date_field_names):
|
||||
date_columns.append(field_name)
|
||||
|
||||
# 如果找到日期字段,按最新日期排序
|
||||
order_by_clause = ""
|
||||
if date_columns:
|
||||
# 优先使用updated_at,如果没有则使用created_at,否则使用第一个找到的日期字段
|
||||
if 'updated_at' in date_columns:
|
||||
sort_column = 'updated_at'
|
||||
elif 'created_at' in date_columns:
|
||||
sort_column = 'created_at'
|
||||
else:
|
||||
sort_column = date_columns[0]
|
||||
order_by_clause = f" ORDER BY {sort_column} DESC"
|
||||
logger.info(f"应用日期排序: {sort_column} DESC")
|
||||
|
||||
# 获取分页数据
|
||||
offset = (page - 1) * per_page
|
||||
query_params.extend([per_page, offset])
|
||||
|
||||
data_query = f"SELECT * FROM {table_name}{where_clause} LIMIT ? OFFSET ?"
|
||||
data_query = f"SELECT * FROM {table_name}{where_clause}{order_by_clause} LIMIT ? OFFSET ?"
|
||||
cursor.execute(data_query, query_params)
|
||||
|
||||
rows = cursor.fetchall()
|
||||
|
||||
BIN
product_screenshot.png
Normal file
BIN
product_screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 628 KiB |
11
temp_product_info.txt
Normal file
11
temp_product_info.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
=== Product Hunt 产品信息 ===
|
||||
|
||||
产品名称: Korgi
|
||||
|
||||
产品简介: Korgi connects your scattered productivity stack in a single project management app. AI generates your project board with content, steps, and links in less than a minute. You take action while Korgi creates, shares, and launches assets in a click, using your own apps and drives (Google, Microsoft, Zoom, and more) – with integrated chat and AI. Deliver finished boards as formatted files instantly. No more planning paralysis and hunting through files and tabs. Where is it? It's ON THE BOARD.
|
||||
|
||||
制作人发言: 未获取
|
||||
|
||||
用户数: 169 followers
|
||||
|
||||
提取时间: 2025-12-12 19:06:34
|
||||
File diff suppressed because it is too large
Load Diff
BIN
tophub_data.db
BIN
tophub_data.db
Binary file not shown.
3298
tophub_scraper.log
3298
tophub_scraper.log
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user