else
totaldl 1.1
This commit is contained in:
parent
4c2bf93b53
commit
8e8dcacb92
2 changed files with 13 additions and 0 deletions
BIN
TotalDL/!!testdata.db
Normal file
BIN
TotalDL/!!testdata.db
Normal file
Binary file not shown.
13
TotalDL/timesearch_dl.py
Normal file
13
TotalDL/timesearch_dl.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
import sqlite3
|
||||
import totaldl
|
||||
|
||||
sql = sqlite3.connect('!!testdata.db')
|
||||
cur = sql.cursor()
|
||||
|
||||
cur.execute('SELECT * FROM posts WHERE self=0 AND url IS NOT NULL')
|
||||
while True:
|
||||
item = cur.fetchone()
|
||||
if item is None:
|
||||
break
|
||||
url = item[7]
|
||||
totaldl.handle_master(url)
|
Loading…
Reference in a new issue