summaryrefslogtreecommitdiff
path: root/providers/Youtube.php
blob: bd38a5236325ba97ac0481b7f9b91ee9c44a399a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Providers;

require_once('Rss.php');

class Youtube extends Rss {

    protected function _getFeedUrl($feed) {
        return 'https://www.youtube.com/feeds/videos.xml?channel_id=' . $feed;
    }

    protected function _getCachePath() {
        return '../cache/youtube.%s';
    }

}

?>