Skip to content

[Bug]: getHttpLiveStreamUrl return Response code: 403 for any live stream #373

@kaiv2000

Description

@kaiv2000

What happened?

next code for getting live stream url return Response code: 403 for any live stream you provide:

import 'package:youtube_explode_dart/youtube_explode_dart.dart';

String liveUrl = await new YoutubeExplode()
.videos
.streamsClient
.getHttpLiveStreamUrl(new VideoId(videoId));

Next code also return Response code: 403 for any live stream regardless of provided client:

final manifest = await yt
.videos
.streamsClient
.getManifest(videoId, ytClients: [mediaConnect]);

Stacktrace / error logs.

HttpDataSource$InvalidResponseCodeException: Response code: 403

Package (youtube_explode_dart) version

3.0.5

Checklist

  • I have provided a descriptive title
  • I have searched the issues of this repository and believe that this is not a duplicate
  • I have tested with the latest version of the library
  • (If relevant) I can open the video/playlist in a incognito/private window without being logged in.
  • I have sponsored the project

Additional notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions