diff --git a/import.py b/import.py index d4adc47dafbdbda8c4105029792b71f3321f7f1c..fc2651e6858d1424ac55126d18485bd3298af52e 100644 --- a/import.py +++ b/import.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 #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 from tqdm import tqdm