Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Too Many requests on $transcript->fetch(). Even with 1 single request #8

@wpas81

Description

@wpas81

Hi

I've been using your package for a while now. Until now without any issue. Untill recently when it stopped working.
Every time I hit the "transcript->fetch()" method it throws an "too many requests" error.

Even on the very first request and with long waiting times between requests.

Any advice on how to solve this?

Thanks

`
try {

    $transcript_list = $this->fetcher->fetch($videoId);

    $language_codes = $transcript_list->getAvailableLanguageCodes();

     $transcript = $transcript_list->findTranscript($language_codes);

     $text = $transcript->fetch();
}

catch (\Exception $e) {

        $this->logError('Youtube Fetcher error: ' . $e->getmessage());

        return false;
}

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions