Skip to content

(( Click link below to use the WebApp )) Receives an URL and breaks it into domain, path, parameters and fragment. Parameters and fragment are broken into lists and objects.

Notifications You must be signed in to change notification settings

tomasfn87/url-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Parser

  • Algorithm to isolate the main parts and the key-value sets of a URL.

C++

  • Colorizes the URL parts and highlights characters; CLI app.

JavaScript

  • Same code used in the WebApp but organized as a class; it also includes a test class; CLI app.

WebApp

Description

  • Parses a URL in 4 parts:
    • Domain;
    • Path;
    • Parameters;
    • Fragment.
  • Domain tries to obtain the site's icon (favicon) using a Google API;
  • Parameters and Fragment are parsed into key and (optional) value;
  • Decode: press the Decode button to solve encoded characters and actually read the URL's content.

YouTube

Art

About

(( Click link below to use the WebApp )) Receives an URL and breaks it into domain, path, parameters and fragment. Parameters and fragment are broken into lists and objects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published