Skip to content

Latest commit

 

History

History

eaparam

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

eaparam

extract all parameters

Take as input on stdin a list of urls and print on stdout all the unique parameters.

Input

https://example.com/file?p=1&id=1
https://example.com/2?a="&page=!&url=1
https://www.example.com/file?redir_url=2
https://example.com/file?1=2?utm=cc
https://example.com/2?d=2?hl=1
https://www.example.com/file?hl=2

Usage

cat urls | eaparam

Output

id
page
url
redir_url
utm
hl