extract endpoints from js files
Take as input on stdin a list of js file urls and print on stdout all the unique endpoints found.
Thanks to @renniepak.
https://example.com/main.js
https://test2.test.com/user-display.js
cat js-urls | eefjsf
/api
/chat_panel/v2
/embed/video/
/chat/v2/conversation/download
/chat/v2
/mychats
/tunnel/UI/Login
/hidden
/hidden1