youtube_explode_dart icon indicating copy to clipboard operation
youtube_explode_dart copied to clipboard

Is there a way to get a list of videos related to the given videoid?

Open hahai96 opened this issue 4 years ago • 9 comments

I am using the plugin, everything works very well, but I have a problem that is getting a list of videos related to the given videoid. I can also get by youtube's api, but it requires usage quota. Can we achieve this through plugins without using apikey? Thanks

https://www.googleapis.com/youtube/v3/search?part=snippet&relatedToVideoId=EWz4fITO5qg&type=video&key=...

hahai96 avatar Mar 20 '20 04:03 hahai96

I can try to parse the html page to retrieve those videos, note that they might change every time since youtube dynamically generate those videos

Hexer10 avatar Mar 20 '20 09:03 Hexer10

@Hexer10 By using this package, will the view count of the videos be updated?

kamathprasad9 avatar Jun 17 '20 10:06 kamathprasad9

@Hexer10 By using this package, will the view count of the videos be updated?

What do you mean? The view count is taken directly from the YouTube video page, if it's updated there the library will give the updated result too. Btw this is off-topic here, if you have further problems, please open a new issue

Hexer10 avatar Jun 17 '20 10:06 Hexer10

Just to update this issue status, seems like all the related videos are provided from a json string when the page is first loaded, so I won't even need to do weird things parsing the html hopefully

Hexer10 avatar Jun 17 '20 10:06 Hexer10

hello can it be posible search for a youtube video and playlist without directly giving its url?

Twapa avatar Jul 22 '20 13:07 Twapa

@Twapa i don't get what do you want achieve can you provide an example? Maybe open a new issue if it doesn't regard strictly this argument

Hexer10 avatar Jul 22 '20 18:07 Hexer10

ok i want implement youtube video search bar in my app....hopefully search for any video in the app and be able download it...

Twapa avatar Jul 22 '20 21:07 Twapa

@Twapa I've made an example here https://github.com/Hexer10/YouTube-Downloader-Flutter/tree/master on how to do exactly that and a bit more, it uses flutter_bloc if you need more assistance please contact me on Telegram (@Hexah) or email, to avoid going off-topic here

Hexer10 avatar Jul 26 '20 11:07 Hexer10

thanks for your reponse this library is helpful. i appreciate

On Sunday, July 26, 2020, Mattia [email protected] wrote:

@Twapa https://github.com/Twapa I've made an example here https://github.com/Hexer10/ YouTube-Downloader-Flutter/tree/master on how to do exactly that and a bit more, it uses flutter_bloc if you need more assistance please contact me on Telegram (@Hexah) or email, to avoid going off-topic here

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Hexer10/youtube_explode_dart/issues/17#issuecomment-663978676, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFQPKFPNIRJEEUTZIU6XCLTR5QKQ3ANCNFSM4LQAAW2A .

-- null

Twapa avatar Aug 03 '20 12:08 Twapa