can read links excel
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user