title: Extract URL from m3u playlist in bash
body: <p>I have a m3u playlist where the URLs are changing weekly. I want to make a bash script to update m3u8 files on my server with these updated links. The playlist is like this:</p>
  <pre><code>#EXTINF:-1 tvg-logo=&quot;http://www.test.com/logo1.png&quot; group-title=&quot;ENTERTAINMENT&quot; tvg-id=&quot;test1&quot; tvg-name&quot;test1&quot;,test1
  https://test.com/test1.m3u8
  #EXTINF:-1 tvg-logo=&quot;http://www.test.com/logo2.png&quot; group-title=&quot;ENTERTAINMENT&quot; tvg-id=&quot;test2&quot; tvg-name&quot;test2&quot;,test2
  https://test.com/test2.m3u8
  </code></pre>
  <p>If I want to only extract <a href="https://test.com/test1.m3u8" rel="nofollow noreferrer">https://test.com/test1.m3u8</a> how would I do that?</p>