title: how to youtube thumbnails link replace with site link
body: <p>I have problem youtube video and thumbnails block in our country and I want to run youtube api for getting these data , but problem is thumbnails links show like these link</p>
  
  <p><img src="https://i.stack.imgur.com/e6GPi.jpg" alt="enter image description here"></p>
  
  <p>I want to its show through my site link with my server like</p>
  
  <p><a href="https://img.example.com/vi/T0Jqdjbed40/default.jpg" rel="nofollow noreferrer">https://img.example.com/vi/T0Jqdjbed40/default.jpg</a></p>
  
  <p>I try to replace url with string replace function but its not work please tell me how to run through my site link like some site show like playit , vube.pk , flix</p>