summaryrefslogtreecommitdiffstats
path: root/lib/Fetcher/YoutubeFetcher.php
diff options
context:
space:
mode:
authorDriverXX <DriverXX@users.noreply.github.com>2019-12-24 09:33:19 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2019-12-24 09:33:19 +0100
commit6673cbc3d940745a0ecddb93b32805a0fbe79eb1 (patch)
tree72d50a36c4635311a684375106652d88d019575e /lib/Fetcher/YoutubeFetcher.php
parentc2f617dd400681b67927781a73a735600803d9ae (diff)
Reimplement full-text scraping (#563)
Add readability.php scraper Fixes #482 Signed-off-by: Gioele Falcetti <thegio.f@gmail.com>
Diffstat (limited to 'lib/Fetcher/YoutubeFetcher.php')
-rw-r--r--lib/Fetcher/YoutubeFetcher.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Fetcher/YoutubeFetcher.php b/lib/Fetcher/YoutubeFetcher.php
index 41319a36b..56adaae03 100644
--- a/lib/Fetcher/YoutubeFetcher.php
+++ b/lib/Fetcher/YoutubeFetcher.php
@@ -50,7 +50,7 @@ class YoutubeFetcher implements IFeedFetcher
*
* @inheritdoc
*/
- public function fetch(string $url, bool $favicon, $lastModified, $user, $password): array
+ public function fetch(string $url, bool $favicon, $lastModified, bool $fullTextEnabled, $user, $password): array
{
$transformedUrl = $this->buildUrl($url);
@@ -58,6 +58,7 @@ class YoutubeFetcher implements IFeedFetcher
$transformedUrl,
$favicon,
$lastModified,
+ $fullTextEnabled,
$user,
$password
);