aly / libupdate.py
0 gustos
0 bifurcaciones
2 archivos
Última actividad
Scripts to manage pack torrents
| 1 | #!/usr/bin/env python3 |
| 2 | import sqlite3 |
| 3 | from sys import argv |
| 4 | from requests import get,post |
| 5 | lib = argv[1] |
| 6 | ROOT = "/mnt/storage/_live/{}library.db" |
| 7 | QBT = "http://localhost:8080" |
| 8 | |
| 9 | con = sqlite3.connect(ROOT.format(lib)) |
| 10 | cur = con.cursor() |
Siguiente
Anterior