Q8 - Onur Yigit Arpali

mail@pastecode.io avatar
unknown
python
3 years ago
242 B
2
Indexable
Never
import sqlite3

con = sqlite3.connect("DATABASE")

cur = con.cursor()

for row in cur.execute('SELECT * FROM DATABASE;'):
    re.split(r'(?<=>)(http.+?//)(.+?)(?=<)', row['Stats_Access_Link'])[2]

# Be sure to close the connection
con.close()