diff --git a/courses.db b/courses.db index 73d84e5..2a88008 100755 Binary files a/courses.db and b/courses.db differ diff --git a/markdown_transcribe_hugo.py b/markdown_transcribe_hugo.py index 04aca74..c6fa12e 100644 --- a/markdown_transcribe_hugo.py +++ b/markdown_transcribe_hugo.py @@ -188,8 +188,8 @@ def get_content(): start_course_id = max_course_id - 5 # 查询courses表中的所有课程ID - cursor.execute('SELECT id, title FROM courses where id >= ?', (49,)) - # cursor.execute('SELECT id, title FROM courses where id >= ?', (start_course_id,)) + # cursor.execute('SELECT id, title FROM courses where id >= ?', (1,)) + cursor.execute('SELECT id, title FROM courses where id >= ?', (start_course_id,)) course_ids_data = cursor.fetchall() course_ids = [row[0] for row in course_ids_data] course_ids_dict = dict(course_ids_data)