Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
174 B
2
Indexable
from sponsorblock import SponsorBlockAPI

api = SponsorBlockAPI()

def get_and_apply_segments(video_url):
    segments = api.get_segments(video_url)
    
    return segments