1
0
mirror of https://github.com/tiyn/stud.ip-crawler.git synced 2026-02-22 06:34:48 +01:00

2 Commits

Author SHA1 Message Date
TiynGER
2fc3a1c38f database: included sqlite and parameter substitution
Before we used insecure python variables to assemble a query string.
Now we use the DB-APIs parameter subtitution.
pymysqlite was switched for sqlite due to being included in python.
2020-11-17 12:48:46 +01:00
TiynGER
4a8cf45ad3 database: switching from mysql to sqlite
Currently we only need the db to keep track of the files that were
already downloaded, thus we only use one database and only one table.
A complete sql database is a bit too bulky for this purpose.
By using sqlite we can minimize and embed the db.
2020-11-17 11:04:03 +01:00