mirror of
https://github.com/velocitatem/garlic.git
synced 2026-05-31 16:53:37 +00:00
New stuff
This commit is contained in:
@@ -8,12 +8,15 @@ import sqlite3
|
||||
import time
|
||||
import sys
|
||||
|
||||
urls = ["https://glittery-croquembouche-c25561.netlify.app/"]
|
||||
urls = ["https://garlic-react.netlify.app/", "https://garlic-vue.netlify.app/"]
|
||||
|
||||
# connect to the database
|
||||
conn = sqlite3.connect('garlic.db')
|
||||
c = conn.cursor()
|
||||
|
||||
# clear the database
|
||||
c.execute("DROP TABLE IF EXISTS garlic")
|
||||
|
||||
# create the table if it does not exist
|
||||
c.execute('''CREATE TABLE IF NOT EXISTS websites (url text, content text)''')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user