dotnettools / SharpGrabber

Download from YouTube, Vimeo, HLS (M3U8 files) and more with .NET and JavaScript - Library and desktop app for downloading high quality media
GNU Lesser General Public License v3.0
311 stars 45 forks source link

"Failed to extract information from neither embed nor watch pages" #97

Open kirk-marple opened 2 months ago

kirk-marple commented 2 months ago

Anyone know if anything changed recently, and now YouTube videos are getting blocked by this library.

We're getting a GrabParseException with this error "Failed to extract information from neither embed nor watch pages".

                var result = await grabber.GrabAsync(uri);

This code used to work, and I recently noticed our tests failing, and it seems to be on any YouTube video.

javidsho commented 2 months ago

YouTube has made some big changes. I am a bit busy at the moment to handle the issue myself. I hope someone else would try fixing it. One way or another worst case scenario other open source repositories will probably push the fixes and we can replicate those

kirk-marple commented 2 months ago

Ah, thought maybe they were totally blocking things.

I'm happy to give it a go and try and fix it. Any advice on what they have changed would be helpful, and then I can make a PR.

DIMANRUS commented 2 months ago

Hello. If you call GrabAsync again, for example in catch, then everything works

rochapablo commented 2 months ago

+1