module LikeeScraper::VideoCollector
Overview
The VideoCollector
module defines the interaction with the Likee API
to fetch videos from the user profile.
Defined in:
likee_scraper/user_profile/video_collector.crConstant Summary
-
MAX_VIDEOS_PER_PAGE =
100
Class Method Summary
-
.collect_each(user_id : String, last_post_id : String = "", &)
Yields each video from the user profile.
Class Method Detail
def self.collect_each(user_id : String, last_post_id : String = "", &)
#
Yields each video from the user profile. It iterates through all pages from the newest video to the oldest video.