Explorar el Código

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

master
TheBidouilleur hace 2 semanas
padre
commit
6a6bcf39bc
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. +7
    -1
      update_manga.py

+ 7
- 1
update_manga.py Ver fichero

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


Cargando…
Cancelar
Guardar