@@ -0,0 +1,469 @@
+#!/usr/bin/env python3%0A%0Aimport csv%0A%0Aimport get_db_connection%0A%0A%0Adef main():%0A  with open('items.csv', 'r', newline='') as csv_file:%0A    csv_reader = csv.DictReader(csv_file)%0A    with get_db_connection.connect() as conn:%0A      with conn.cursor() as cur:%0A        for row in csv_reader:%0A          cur.execute(%0A              'INSERT INTO items (wiki_link, canonical_name) VALUES (%25s, %25s)',%0A              (row%5B'wiki_link'%5D, row%5B'name'%5D))%0A%0A%0Aif __name__ == '__main__':%0A  main()%0A

Load items into the database