|
|
|
@@ -7,7 +7,13 @@ cursor = conn.cursor() |
|
|
|
|
|
|
|
def main(): |
|
|
|
#print("Pas de fonction Main") |
|
|
|
update_manga(31477) |
|
|
|
fetch_all_id() |
|
|
|
|
|
|
|
def fetch_all_id(): |
|
|
|
print("Recuperation des IDs") |
|
|
|
cursor.execute("SELECT id FROM manga;") |
|
|
|
rows = cursor.fetchall() |
|
|
|
|
|
|
|
|
|
|
|
def update_manga(id): |
|
|
|
url = get_url(id) |
|
|
|
|