title: How to convert Unicode (or what ever that is) to UTF-8 (or or what ever is readable) in Python 3
body: <p>I used code from a YouTube video :</p>
  <pre><code>import json
  import re
  import requests
  
  class Helper:
      def __init__(self):
          pass
  
      def id_from_url(self, url: str):
          return url.rsplit(&quot;/&quot;, 1)[1]
  
  class YouTubeStats:
      def __init__(self, url: str):
          #self.json_url = urllib.request.urlopen(url)
          self.json_url = requests.get(url)
          self.data = json.loads(self.json_url.text)
          
      def print_data(self):
          print(self.data)
  
      def get_video_title(self):
          return self.data[&quot;items&quot;][0][&quot;snippet&quot;][&quot;title&quot;]
  
      def get_video_description(self):
          return self.data[&quot;items&quot;][0][&quot;snippet&quot;][&quot;description&quot;]
  
  
  api_key = &quot;never-gonna-let-you-know&quot;
  
  link_file = &quot;links.csv&quot;
  
  with open(link_file, &quot;r&quot;) as f:
      content = f.readlines()
  
  content = list(map(lambda s: s.strip(), content))
  content = list(map(lambda s: s.strip(','), content))
  
  helper = Helper()
  for youtube_url in content:
      video_id = helper.id_from_url(youtube_url)
      url = f&quot;https://www.googleapis.com/youtube/v3/search?part=snippet&amp;channelId={video_id}&amp;maxResults=1&amp;order=date&amp;type=video&amp;key={api_key}&quot;
      yt_stats = YouTubeStats(url)
      title = yt_stats.get_video_title()
      description = yt_stats.get_video_description()
  
      print(title)
  </code></pre>
  <p>and when ever i use it keeps on showing funky characters (<code>&amp;#39;</code>) instead of an apostrophe.</p>
  <p>Note : this might get updated and fix itself since its a API but please use ^ as a reference also my API key might break</p>