From 4805b52d4263d54daf6e80e697fec8495d0cf276 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Fri, 16 Feb 2018 22:35:00 +0100 Subject: [PATCH] [YoutubeBridge] Fix typo --- bridges/YoutubeBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/YoutubeBridge.php b/bridges/YoutubeBridge.php index 32d4216..321fb26 100644 --- a/bridges/YoutubeBridge.php +++ b/bridges/YoutubeBridge.php @@ -52,11 +52,11 @@ class YoutubeBridge extends BridgeAbstract { $html = $this->ytGetSimpleHTMLDOM(self::URI . "watch?v=$vid"); // Skip unavailable videos - if(!strpos($html->innertext, 'IS_UNAVAILABLE_PAGE')){ + if(!strpos($html->innertext, 'IS_UNAVAILABLE_PAGE')) { return; } - foreach($html->find('script') as $script){ + foreach($html->find('script') as $script) { $data = trim($script->innertext); if(strpos($data, '{') !== 0)