Skip to main content
lynx -dump no use with json/json-like data. used sed instead.
Source Link
cas
  • 85.1k
  • 9
  • 139
  • 207

This will probably do what you want:

lynx -accept_all_cookies -dumpwget -listonly qO-nonumbers http://website.com/site/ | \ grepsed 'myStream-n -e "/playlist\.m3u'^ *file: */ { s/^ *file: *'//; s/', *$//p}" > output.txt 

You'll need to install the text-mode browser lynx first if it isn't already installed.

This will probably do what you want:

lynx -accept_all_cookies -dump -listonly -nonumbers http://website.com/site/ | \ grep 'myStream/playlist\.m3u' > output.txt 

You'll need to install the text-mode browser lynx first if it isn't already installed.

This will do what you want:

wget -qO- http://website.com/site/ | \ sed -n -e "/^ *file: */ { s/^ *file: *'//; s/', *$//p}" > output.txt 
Source Link
cas
  • 85.1k
  • 9
  • 139
  • 207

This will probably do what you want:

lynx -accept_all_cookies -dump -listonly -nonumbers http://website.com/site/ | \ grep 'myStream/playlist\.m3u' > output.txt 

You'll need to install the text-mode browser lynx first if it isn't already installed.