diff --git a/import.py b/import.py index 493435d1abf41f12df662910d502e4b58c16dce9..ecb6d7865345fb1e7df83322fea3d26338b5dde0 100644 --- a/import.py +++ b/import.py @@ -1,3 +1,5 @@ +#To import data you need a excel style CSV (";" as seperator) with the first as short url (e.g. kurz.ml/example) and in the seccond row the long url (e.g http://example.com). +#Then run docker -it <container_name> python3 import.py Now you can paste the CSV as text and press enter again at the end import sqlite3 import os def table_check(): #Check if database exists