From 3ca84e144eab1a6e98ad02eedff4cd421dc38560 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 21 Apr 2019 21:36:14 +0200 Subject: [PATCH] refactor: We don't need this check anymore --- classes/Video.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/classes/Video.php b/classes/Video.php index 63a1913..1fe1012 100644 --- a/classes/Video.php +++ b/classes/Video.php @@ -370,11 +370,10 @@ class Video 'pipe:1', ] ); - if ($this->url != '-') { - //Vimeo needs a correct user-agent - $arguments[] = '-user_agent'; - $arguments[] = $this->getProp('dump-user-agent'); - } + + //Vimeo needs a correct user-agent + $arguments[] = '-user_agent'; + $arguments[] = $this->getProp('dump-user-agent'); return new Process($arguments); }