generate.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:Pixiv-Spider 作者: cathor01 项目源码 文件源码
def read_star():
    db = sqlite3.connect(get_project_settings()['DATABASE_POSITION'])
    db.row_factory = dict_factory
    cursor = db.cursor()
    cursor.execute('select * from pixiv_item where star is not null ORDER BY -star')
    global star_array, unstar
    star_array = cursor.fetchall()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号