change user agent
This commit is contained in:
@@ -150,7 +150,7 @@ def isStillValid(file,skiprows):
|
||||
if resp.status >= 400 or isLink == False:
|
||||
print("link is no more valid, remove item")
|
||||
rm_cursor = connection.cursor()
|
||||
rm_itm = rm_cursor.execute(f"""DELETE from jobs WHERE link = ? AND star != 1;""",(row[0],))
|
||||
rm_itm = rm_cursor.execute("DELETE from jobs WHERE link = ? AND star != 1;",(row[0],))
|
||||
print ("Deletion resultet in: ", rm_itm)
|
||||
print("result of commit: ", connection.commit())
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user