About URL Parsing:
A URL (Uniform Resource Locator) is a string used to identify and locate resources on the internet. A complete URL consists of several parts:
- Protocol: such as http, https, ftp, etc.
- Hostname: domain name or IP address
- Port: server port number, such as 80, 443, 8080, etc.
- Pathname: path to the resource on the server
- Search: query parameters starting with ?
- Hash/Anchor: fragment identifier starting with #
- Username/Password: credentials used for authentication (less commonly used)