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

Skip to content

TranscriptsDisabledException error in production even with proxy #3

@cavid90

Description

@cavid90

Hello. I installed the package and also bought proxy from dataimpuls.com . But still in production returns TranscriptsDisabledException. This is my code:

`use GuzzleHttp\Client;
use GuzzleHttp\RequestOptions;
use MrMySQL\YoutubeTranscript\TranscriptListFetcher;
$proxies = [
env('DI_PROXY1')
];
$http_client = new Client([
RequestOptions::PROXY => $proxies,
RequestOptions::VERIFY => false
]);
$request_factory = new HttpFactory();
$this->fetcher = new TranscriptListFetcher($http_client, $request_factory);

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

Problem is in production.

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