mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
[YoutubeBridge] Fix typo
This commit is contained in:
parent
962617086e
commit
4805b52d42
@ -52,11 +52,11 @@ class YoutubeBridge extends BridgeAbstract {
|
|||||||
$html = $this->ytGetSimpleHTMLDOM(self::URI . "watch?v=$vid");
|
$html = $this->ytGetSimpleHTMLDOM(self::URI . "watch?v=$vid");
|
||||||
|
|
||||||
// Skip unavailable videos
|
// Skip unavailable videos
|
||||||
if(!strpos($html->innertext, 'IS_UNAVAILABLE_PAGE')){
|
if(!strpos($html->innertext, 'IS_UNAVAILABLE_PAGE')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($html->find('script') as $script){
|
foreach($html->find('script') as $script) {
|
||||||
$data = trim($script->innertext);
|
$data = trim($script->innertext);
|
||||||
|
|
||||||
if(strpos($data, '{') !== 0)
|
if(strpos($data, '{') !== 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user