code: async function getSubtitlesByHash (hash) {
    const result = await OpenSubtitles.search({
      sublanguageid: 'eng',
      hash
    })
  
    if (!result.en) {
      throw new Error(`No subtitles found for hash ${hash}`)
    }
  
    return request.get(result.en.url)
  }
docs: Get subtitles for the given hash.
  
  @param {string} hash - a hex string that identifies a file
  @returns {Promise<string>} the subtitles, formatted as .srt