diff options
Diffstat (limited to 'fetcher')
-rw-r--r-- | fetcher/youtubefetcher.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fetcher/youtubefetcher.php b/fetcher/youtubefetcher.php index cc96e987f..33a7671a4 100644 --- a/fetcher/youtubefetcher.php +++ b/fetcher/youtubefetcher.php @@ -29,7 +29,7 @@ class YoutubeFetcher implements IFeedFetcher { $id = $matches[1]; return 'http://gdata.youtube.com/feeds/api/playlists/' . $id; } else { - return false; + return $url; } } @@ -38,7 +38,7 @@ class YoutubeFetcher implements IFeedFetcher { * This fetcher handles all the remaining urls therefore always returns true */ public function canHandle($url){ - return $this->buildUrl($url) !== false; + return $this->buildUrl($url) !== $url; } |