Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize Searching: Write individual functions for checking usernames availability on each website #3

Open
GeekyShacklebolt opened this issue Aug 16, 2020 · 1 comment
Labels
good first issue Good for newcomers

Comments

@GeekyShacklebolt
Copy link
Owner

Currently, usernames availability check is done in broader functions like check_on_sites_with_syntax_domain_username. We can modularize this checking in separate functions for each website and calling them in function check_username_availability. This might also be necessary because there would be different cases and approaches to check username availability on different websites. Therefore, keeping their checks modularize in separate functions would be good in later stages.

@GeekyShacklebolt GeekyShacklebolt added the good first issue Good for newcomers label Aug 16, 2020
@GeekyShacklebolt
Copy link
Owner Author

Also, we need to validate usernames as per each website. For example, Twitter doesn't allow usernames longer than 15 characters, etc. These specific validations can be added to their individual username checking functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant