def remove_podcasts():
with app.app_context():
podcasts = Podcast.query.all()
for podcast in podcasts:
if podcast.episodes.count() == 0:
db.session.delete(podcast)
db.session.commit()
requests.get("https://hchk.io/70e00b3a-fe32-491b-8c0f-eb93b6a3fdc5")
评论列表
文章目录