Browse Source

[YoutubeBridge] Remove superfluous div selectors

logmanoriginal 6 years ago
parent
commit
962617086e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bridges/YoutubeBridge.php

+ 2 - 2
bridges/YoutubeBridge.php

@@ -70,8 +70,8 @@ class YoutubeBridge extends BridgeAbstract {
 			$author = $json->itemListElement[0]->item->name;
 		}
 
-		if(!is_null($html->find('div#watch-description-text', 0)))
-			$desc = $html->find('div#watch-description-text', 0)->innertext;
+		if(!is_null($html->find('#watch-description-text', 0)))
+			$desc = $html->find('#watch-description-text', 0)->innertext;
 
 		if(!is_null($html->find('meta[itemprop=datePublished]', 0)))
 			$time = strtotime($html->find('meta[itemprop=datePublished]', 0)->getAttribute('content'));