Skip to content
Snippets Groups Projects
Commit c60aaaf0 authored by Jonas Leder's avatar Jonas Leder
Browse files

.

parent f0cca568
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3 #!/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). #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 #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 sqlite3
import os import os
from tqdm import tqdm from tqdm import tqdm
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment