From d63456f1557d037721dd591a909d67ddf25def05 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 13 May 2021 12:36:15 +0200 Subject: [PATCH] We don't need to bypass IDN conversion anymore See https://github.com/guzzle/guzzle/commit/d3f2c1791881377105ed375dc2da68c17f9ea496 --- classes/Downloader.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/classes/Downloader.php b/classes/Downloader.php index 57dfcaa..3d89040 100644 --- a/classes/Downloader.php +++ b/classes/Downloader.php @@ -470,12 +470,10 @@ class Downloader implements LoggerAwareInterface * * @return ResponseInterface * @throws AlltubeLibraryException - * @link https://github.com/guzzle/guzzle/issues/2640 */ public function getHttpResponse(Video $video, array $headers = []): ResponseInterface { - // IDN conversion breaks with Google hosts like https://r3---sn-25glene6.googlevideo.com/. - $client = new Client(['idn_conversion' => false]); + $client = new Client(); return $client->request( 'GET',