This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
validate_password(password) { | |
let minMaxLength = /^[\s\S]{8,32}$/, | |
upper = /[A-Z]/, | |
lower = /[a-z]/, | |
number = /[0-9]/, | |
special = /[ !"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~]/; | |
if (minMaxLength.test(password) && | |
upper.test(password) && | |
lower.test(password) && |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
import copy | |
import csv | |
import json | |
from urllib.parse import urlparse | |
def parser_urls(urls, orig={}): | |
''' | |
recebe uma lista de urls e vai parseando enquanto essa tiver um diretorio |