Hexer10 / youtube_explode_dart

Dart library to interact with many Youtube APIs
https://pub.dev/packages/youtube_explode_dart
BSD 3-Clause "New" or "Revised" License
325 stars 143 forks source link

Is there any way to get uploadDate/publishDate from channel or Playlist? #240

Closed yuryilyich closed 1 year ago

yuryilyich commented 1 year ago

Discussed in https://github.com/Hexer10/youtube_explode_dart/discussions/239

Originally posted by **yuryilyich** May 24, 2023 When I enumerate all videos in channel, all I get is: ``` uploadDate: null, uploadDateRaw: null, publishDate: null, ``` code snippet is as below: ``` var yt = YoutubeExplode(); await for (var video in yt.channels.getUploads(channelID)) { //do something } ```
Binozo commented 1 year ago

You can try to get the video id (video.id) and download it again using yt.videos.get(video.id)