master
Voussoir 2015-05-16 03:31:37 -07:00
parent 054b91b1c6
commit feccd86511
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import traceback
import sqlite3
import totaldl
@ -22,6 +23,9 @@ while True:
title = title.replace(character, '')
if len(title) > 35:
title = title[:34] + '-'
totaldl.handle_master(url, customname=title)
try:
totaldl.handle_master(url, customname=title)
except:
traceback.print_exc()
cur2.execute('INSERT INTO totaldl_urls VALUES(?)', [url])
sql.commit()