Jump to content
LaunchBox Community Forums

2 Screenshots

About This File

Simple Plugin to automate download videos from youtube.

 

Requirements: Launchbox 8.2+

Install: Extract the content of zip file to : Launchbox/plugins/YoutubeScraper

Source codeGithub (feel free to make a pull request )

EDIT

If you have trouble running the plugin and crashing due CAS error, please right click on the DLL's , properties and then unblock.

 

unblock.thumb.png.a607d0dfe4f8965625bc1da050b59e0d.png

 

There's two options:

URL Scraper: Just paste entire youtube URL from the desired video

1CuJ5BzV8J.thumb.gif.60a9b4e28418c589d046deed337227a7.gif

 

One-click downloader: It will search automatically and download the first entry from youtube. Bulk Download supported!

 

64prJ3fhsv.thumb.gif.0de5d3e8b3b00ade12a5a5f1f889a38a.gif


What's New in Version 0.1.7   See changelog

Released

Update:

I have no idea what's going on, I will assume that Youtube **** again, I have updated the youtube library hope it works. x2

 

 

  • Like 10
  • Thanks 3



User Feedback

Recommended Comments



47 minutes ago, srxz said:

This is related to youtube and it was fixed months ago, I tried the onelick with Audit window and it works so I couldn't reproduce the error.

Do you have the latest plugin version? Make sure to delete all entries from previous version and use separate folders for each plugin installed.

Thanks for the quick reply. I believe I have the last revision, nevertheless I will redownload it.

The above scenario I got the error, I managed to get a couple of videos downloaded, and then it brought the message, so maybe it has to do with specific videos, idk.

Will check and let you know if I encounter further issues. Thanks.

Share this comment


Link to comment
Share on other sites
4 hours ago, Kondorito said:

Thanks for the quick reply. I believe I have the last revision, nevertheless I will redownload it.

The above scenario I got the error, I managed to get a couple of videos downloaded, and then it brought the message, so maybe it has to do with specific videos, idk.

Will check and let you know if I encounter further issues. Thanks.

Please try to find the games/videos that throws this error and I will look into it. 

Share this comment


Link to comment
Share on other sites

The Plugin no longer works as of this week 😢. I Tried copying in a new version of the latest update as well which didn't help. i'm running the newest version of launchbox (Not the beta version). i just get this error now....ssss.thumb.png.3bc53f7bde60310b1e2336c6459070c0.png

 

here is what the error sais.....

 

Object reference not set to an instance of an object.

App:     LaunchBox
Version: 9.7
Type:    System.NullReferenceException
Site:    Void MoveNext()
Source:  YoutubeScraper

   at YoutubeScraper.Youtube.<youtubeAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   1:41:44 PM Music.Prepare Start
   1:41:44 PM Music.Kill Start
   1:41:44 PM Music.Kill Finished
   1:41:44 PM Music.NotifyTrackList Start
   1:41:44 PM Music.NotifyTrackList Invoke WPF
   1:44:33 PM Music.Play Start
   1:44:33 PM Music.Kill Start
   1:44:33 PM Music.Kill Finished
   1:44:33 PM Music.Play Empty Music Path
   1:44:33 PM Music.NotifyTrackList Start
   1:44:33 PM Music.NotifyTrackList Invoke WPF
   1:48:54 PM Exception

Edited by darreldearth

Share this comment


Link to comment
Share on other sites
20 minutes ago, darreldearth said:

The Plugin no longer works as of this week 😢. I Tried copying in a new version of the latest update as well which didn't help. i'm running the newest version of launchbox (Not the beta version). i just get this error now....ssss.thumb.png.3bc53f7bde60310b1e2336c6459070c0.png

 

here is what the error sais.....

 

Object reference not set to an instance of an object.

App:     LaunchBox
Version: 9.7
Type:    System.NullReferenceException
Site:    Void MoveNext()
Source:  YoutubeScraper

   at YoutubeScraper.Youtube.<youtubeAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   1:41:44 PM Music.Prepare Start
   1:41:44 PM Music.Kill Start
   1:41:44 PM Music.Kill Finished
   1:41:44 PM Music.NotifyTrackList Start
   1:41:44 PM Music.NotifyTrackList Invoke WPF
   1:44:33 PM Music.Play Start
   1:44:33 PM Music.Kill Start
   1:44:33 PM Music.Kill Finished
   1:44:33 PM Music.Play Empty Music Path
   1:44:33 PM Music.NotifyTrackList Start
   1:44:33 PM Music.NotifyTrackList Invoke WPF
   1:48:54 PM Exception

Oh boy, Youtube fked us again. I have uploaded a new version with an Alpha fix, it will work for most of the videos, but the creator of the youtube library that I use still trying a proper fix, meanwhile use the new version :) 0.1.4

  • Thanks 1

Share this comment


Link to comment
Share on other sites
34 minutes ago, srxz said:

Oh boy, Youtube fked us again. I have uploaded a new version with an Alpha fix, it will work for most of the videos, but the creator of the youtube library that I use still trying a proper fix, meanwhile use the new version :) 0.1.4

WOOT! Thanks for the quick fix! 

  • Like 1

Share this comment


Link to comment
Share on other sites

Would be better if it didnt download videos with commentary.  They are useless. 

Share this comment


Link to comment
Share on other sites
3 minutes ago, bunman said:

Would be better if it didnt download videos with commentary.  They are useless. 

Well obviously there is no way for the plugin to know if there is commentary or not.

  • Like 1

Share this comment


Link to comment
Share on other sites
On 7/16/2019 at 7:16 PM, neil9000 said:

Well obviously there is no way for the plugin to know if there is commentary or not.

I know, I was just pointing it out.

Share this comment


Link to comment
Share on other sites

Thanks for this awesome plugin.

Is there anyway to force a certain quality? I would like to download all 4k trailers for my game if there is one... I would like it to try 4k,1080p,720,480, in that order if one was to fail...

I type 4k in the search terms but it still wont work properly and downloads a lower quality video. I have made an alternative script to do it with just a game name having to be manually input but I have no clue how to build a plugin for launchbox lol.

Thanks

Share this comment


Link to comment
Share on other sites
36 minutes ago, GonjaT said:

Thanks for this awesome plugin.

Is there anyway to force a certain quality? I would like to download all 4k trailers for my game if there is one... I would like it to try 4k,1080p,720,480, in that order if one was to fail...

I type 4k in the search terms but it still wont work properly and downloads a lower quality video. I have made an alternative script to do it with just a game name having to be manually input but I have no clue how to build a plugin for launchbox lol.

Thanks

there's no point to download 4K videos for such small resolution window even for bigbox, it's a waste of HDD

  • Like 1

Share this comment


Link to comment
Share on other sites
On 8/3/2019 at 3:32 PM, pmf5389 said:

Not working for me either.

Can confirm, not working for me either. Here is the error:

 

Video [INSERT ID HERE] is unavailable.

App:     LaunchBox
Version: 9.10
Type:    YoutubeExplode.Exceptions.VideoUnavailableException
Site:    Void MoveNext()
Source:  YoutubeExplode

   at YoutubeExplode.YoutubeClient.<GetVideoInfoDicAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at YoutubeExplode.YoutubeClient.<GetVideoAsync>d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at YoutubeScraper.Youtube.<youtubeAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Recent Log:

   6:38:55 PM Music.Prepare Start
   6:38:55 PM Music.Kill Start
   6:38:55 PM Music.Kill Finished
   6:38:55 PM Music.NotifyTrackList Start
   6:38:55 PM Music.NotifyTrackList Invoke WPF
   6:39:18 PM Music.Play Start
   6:39:18 PM Music.Kill Start
   6:39:18 PM Music.Kill Finished
   6:39:18 PM Music.Play Empty Music Path
   6:39:18 PM Music.NotifyTrackList Start
   6:39:18 PM Music.NotifyTrackList Invoke WPF
   6:39:21 PM Music.Play Start
   6:39:21 PM Music.Kill Start
   6:39:21 PM Music.Kill Finished
   6:39:21 PM Music.Play Empty Music Path
   6:39:21 PM Music.NotifyTrackList Start
   6:39:21 PM Music.NotifyTrackList Invoke WPF
   6:53:34 PM Exception

 

  • Like 2

Share this comment


Link to comment
Share on other sites

@xevidroid @pmf5389 @Pixel I have updated the plugin, but to be honest I didnt tested, I will assume that youtube screwed us again, sorry for the delay but Im pretty messed up with my irl work

  • Like 2
  • Thanks 1

Share this comment


Link to comment
Share on other sites
On 7/28/2019 at 7:48 PM, srxz said:

there's no point to download 4K videos for such small resolution window even for bigbox, it's a waste of HDD

That's OK, everyone has their own reasons and opinions, if it doesn't work for you or seems wasteful then I guess you're right and everyone else that asks otherwise must be wrong. I will just use my script I made for the 4k videos. I play it on a 65" 4k TV with friends and if they haven't heard of the game, I show them the trailer full screen, which looks meh in 1080p not horrible but meh (looking for a "wow" not a "meh"). Thanks for the comment though. I also have 32TB on my pc so I'm not tight for space and will continue with my 4k trailers, it was just a request. Have a great day.

  • Game On 1

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...