mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-23 11:07:44 +00:00
15 lines
686 B
Python
15 lines
686 B
Python
import sqlite3
|
|
conn = sqlite3.connect('/data/data/com.termux/files/home/.gemini/tmp/otaku_mappings/anime_mappings.db')
|
|
cursor = conn.cursor()
|
|
print("Shingeki no Kyojin Season 3 details:")
|
|
cursor.execute("SELECT mal_id, mal_title, thetvdb_season, thetvdb_part, anime_media_episodes, global_media_episodes FROM anime WHERE mal_title LIKE 'Shingeki no Kyojin Season 3%'")
|
|
rows = cursor.fetchall()
|
|
for row in rows:
|
|
print(row)
|
|
|
|
print("\nOne Piece details:")
|
|
cursor.execute("SELECT mal_id, mal_title, thetvdb_season, thetvdb_part, anime_media_episodes, global_media_episodes FROM anime WHERE mal_title = 'One Piece'")
|
|
rows = cursor.fetchall()
|
|
for row in rows:
|
|
print(row)
|
|
conn.close()
|