Skip to content

Commit c5e6378

Browse files
author
AB
authored
feat: Dribbble username scan (#325)
1 parent 1d6bd84 commit c5e6378

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from user_scanner.core.helpers import get_random_user_agent
2+
from user_scanner.core.orchestrator import status_validate
3+
4+
5+
def validate_dribbble(user):
6+
url = f"https://dribbble.com/{user}"
7+
show_url = f"https://dribbble.com/{user}"
8+
9+
headers = {
10+
"User-Agent": get_random_user_agent(),
11+
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9",
12+
"Accept-Encoding": "gzip, deflate, br, zstd",
13+
}
14+
15+
return status_validate(url, 404, 200, show_url=show_url, headers=headers)

0 commit comments

Comments
 (0)