can read links excel

This commit is contained in:
2023-05-17 12:16:10 +02:00
parent e19753a531
commit d4febdf96c
6 changed files with 59 additions and 26 deletions
+5 -3
View File
@@ -199,9 +199,9 @@ class MailReader():
def need_to_valid_url(url: str, successful_items) -> bool:
# return True
if len(successful_items) == 0:
return False
return True
# if len(successful_items) == 0:
# return False
print("url is :" + url)
parts = url.split('/')
id = parts[5]
@@ -214,6 +214,8 @@ def need_to_valid_url(url: str, successful_items) -> bool:
return not item.url_validated
else:
# if url_validated is None
if item.url_validated is not None:
return not item.url_validated
return True
return True
else: