no need to valid if successful_items if empty
This commit is contained in:
@@ -131,6 +131,8 @@ def clean(text):
|
||||
|
||||
|
||||
def need_to_valid_url(url: str, successful_items) -> bool:
|
||||
if len(successful_items) == 0:
|
||||
return False
|
||||
print("url is :" + url)
|
||||
parts = url.split('/')
|
||||
id = parts[5]
|
||||
|
||||
Reference in New Issue
Block a user