Files
ns2.0/backend/app/crawler/app_ids.py
Nvex 720402ffe7 feat: NEXT Store 2.0 重大更新 - 完整重构前后端
🎉 主要更新:

后端:
- 全新华为应用市场爬虫系统
- 三表分离数据库设计 (app_info, app_metrics, app_rating)
- 完整的API接口 (搜索、分类、热门、上新等)
- 元服务自动识别和分类
- 智能Token管理和数据处理
- 修复热门应用重复显示问题

前端:
- 全新首页设计 (今日上架、热门应用)
- 应用页面 (彩色分类磁贴、智能图标匹配)
- 今日上新页面 (日期切换)
- 热门应用页面 (卡片布局)
- 应用详情页面 (完整信息展示)
- Apple风格搜索栏
- Footer组件
- 底部导航栏优化 (4个导航项)
- 骨架屏加载效果
- FontAwesome图标集成

UI/UX:
- 统一浅色背景 (#F5F5F7)
- 流畅的过渡动画
- 响应式设计
- 毛玻璃效果

文档:
- CHANGELOG.md - 完整更新日志
- QUICKSTART.md - 快速开始
- 多个技术文档和使用指南

版本: v2.0.0
2025-10-25 21:20:32 +08:00

54 lines
1.5 KiB
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
华为应用市场已知的鸿蒙应用ID列表
从 guess.py 分析得出共962个ID
"""
# 导入ID列表的函数
def load_app_ids():
"""加载应用ID列表"""
import os
import sys
# 从同目录下的 guess.py 导入
guess_file = os.path.join(os.path.dirname(__file__), 'guess.py')
if os.path.exists(guess_file):
# 读取 guess.py 中的 ids 列表
with open(guess_file, 'r', encoding='utf-8') as f:
content = f.read()
# 提取 ids 列表部分
start = content.find('ids = [')
end = content.find(']', start) + 1
ids_code = content[start:end]
# 执行代码获取 ids
local_vars = {}
exec(ids_code, {}, local_vars)
return local_vars['ids']
# 如果文件不存在返回默认的前20个ID
return [
6917559067092904725,
6917559133889396578,
6917559134045802769,
6917559138770331354,
6917559303873561126,
6917559384755888642,
6917559398244134093,
6917559401760179700,
6917559412599401190,
6917559420741644814,
6917559471584581139,
6917559493442858602,
6917559997337903225,
6917560000979877756,
6917560003449022390,
6917560016672900552,
6917560022799490908,
6917560032190348725,
6917560035472143514,
6917560097545123074,
]
# 全局变量应用ID列表
KNOWN_APP_IDS = load_app_ids()