Przeglądaj źródła

Debut de la fonction fetch_all_id pour récupérer tout les ID des mangas

master
TheBidouilleur 2 tygodni temu
rodzic
commit
6a6bcf39bc
1 zmienionych plików z 7 dodań i 1 usunięć
  1. +7
    -1
      update_manga.py

+ 7
- 1
update_manga.py Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz