diff options
author | trizen <trizen@protonmail.com> | 2020-10-05 13:14:38 +0300 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-11-09 16:03:11 -0500 |
commit | 76bf4687e70cc573ed4bb82fbdaa030d7b9e4d25 (patch) | |
tree | 5150439575f9b7a86c01e0a74908e449952ff726 /lib/WWW/FairViewer/Videos.pm | |
parent | bbe5dab9e37a2cd6f25edb09e2949ce7270b3784 (diff) | |
download | fair-viewer-76bf4687e70cc573ed4bb82fbdaa030d7b9e4d25.tar.lz fair-viewer-76bf4687e70cc573ed4bb82fbdaa030d7b9e4d25.tar.xz fair-viewer-76bf4687e70cc573ed4bb82fbdaa030d7b9e4d25.zip |
Implemented support for popular videos.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'lib/WWW/FairViewer/Videos.pm')
-rw-r--r-- | lib/WWW/FairViewer/Videos.pm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/WWW/FairViewer/Videos.pm b/lib/WWW/FairViewer/Videos.pm index a0f5e1b..aaaacc7 100644 --- a/lib/WWW/FairViewer/Videos.pm +++ b/lib/WWW/FairViewer/Videos.pm @@ -81,24 +81,6 @@ sub trending_videos_from_category { return $results; } -=head2 popular_videos($channel_id) - -Get the most popular videos for a given channel ID. - -=cut - -sub popular_videos { - my ($self, $id) = @_; - - my $results = do { - local $self->{channelId} = $id; - local $self->{order} = 'viewCount'; - $self->search_videos(""); - }; - - return $results; -} - =head2 my_likes() Get the videos liked by the authenticated user. |