Gets all the videos in an account by automatically paginating through getVideos().
        WARNING: Use with caution if you have thousands of videos!
        WARNING: If deletes are being done during this iteration, the list may be missing videos.

def get_all_videos(self, search_q=None):
        '''
        Gets all the videos in an account by automatically paginating through getVideos().
        WARNING: Use with caution if you have thousands of videos!
        WARNING: If deletes are being done during this iteration, the list may be missing videos.
        '''
        page_size = 10
        current_page = 0
        total_count = self.get_video_count(search_q=search_q)
        total_page = math.ceil(total_count / page_size)
        # We sort by 'created_at' so any newly added videos will be on the last page.
        # We don't currently handle deletes during the iteration which could cause videos to be missed.
        sort = 'created_at'
        result = []
        while current_page < total_page:
            page_result = self.get_videos(limit=page_size, offset=current_page * page_size,
                                          search_q=search_q, sort=sort)
            result += page_result
            current_page += 1
        return result