-
Notifications
You must be signed in to change notification settings - Fork 374
Could not parse the Youtube page for URL http://youtube.com/watch?v=knN06v6UGUE #150
Comments
@flagbug @InVermont Ya same error message looks like youtube has changed something haha |
👍 Legend |
This is solve only part of the problem. Do you have a solution for this? |
BTW, it require also to change the URL in Decipherer.DecipherWithVersion from: |
Apperently my cursor is good at selecting videos that don't need decryption. |
…ken dechipherer)
Looks like YouTube changed the ciphering more than last time, we'll have to find the code to reverse it in the player js code 👎 |
I have made the following changes and it work for me now: Class Decipherer -> DecipherWithVersion several changes as follows: string funcBodyPattern = @"(?{([^{}]| ?(brace))})"; string funcPattern = string.Format(@"{0}(\w+){1}", @funcName, funcBodyPattern); var funcBody = Regex.Match(js, funcPattern).Groups["brace"].Value; for now. this is working well for me on all YouTube video that I have tried. |
I think it should be: string funcPattern = @"var " + @funcName + @"=function(\w+){.*?};"; Although after looking at my own comment I think it is Github messing up your formatting. |
I don't include the source for YouTube Extractor in my solution. Can the developer please update the nuget package to get around this problem? Thanks. |
+1 on a request for an update to the nuget package. |
@InVermont, @noammaoz, @GrabzIt and @reincurred-biddle https://github.com/Kimmax/YoutubeExtractor is working great just DecryptDownloadUrl is not working i dont think @flagbug is going to update the nuget anytime soon |
@Kimmax YoutubeExtractor is the most updated version? |
To clarify: |
Does someone have a working version? I'd like to not change my backend yet if at all possible. No channels work at all for me now. |
I'm waiting nuget update. |
i think I got it running again with the code @noammaoz provied, ty! string funcPattern = @"var " + @funcName + @"=function\(\w+\)\{.*?\};"; Can someone confirm this working again? |
@Kimmax Works great with https://github.com/di48l069/Flash-dl 👍 Create a pull request so @flagbug can update it. 👍 |
I cant open a pull request for one commit only and my fork has abbreviated too much |
True story |
@Kimmax thank you for your fork! |
I opened a pull request with Kimmax's fix for this issue. It has worked for all the links I have tested it with. |
@ovnisoftware changes seems to have resolved the issue - #151 |
Not familiar with the way these bugfixes are handled with regard to releases, but will we see a NuGet update in the near future? |
Pull request is open, maybe @flagbug just has not enough time. I dropped him a mail asking for push rights here, so I could handle fixes like this in the future. This also includes the nuget. |
Hi ya'll, while I don't actively work on this project anymore, I'm still here. The reason I didn't accept most of the pull requests is, because they either completely changed the formatting of the source code or added something (in my opinion) completely unnecessary. I'll review the PR with the parser fix within the next two days and merge it. I'll probably also make some changes to YoutubeExtractor: I'm probably going to completely remove the logic for video and audio extraction. The only format YoutubeExtractor can currently extract is Flash, which is a format that's basically dead. As an alternative, you can use FFMPEG, which can do wayyy more then just extracting Flash videos. The video extraction code is written with old .NET 3.5 style, but with .NET 4.5, we're living in an async/await world. I also think that the download of the video should be the responsibility of the user of this library, not the library itself. |
In the meantime, here's a temporary fix. Replace the existing YoutubeExtractor.dll reference in your project with the .dll in this repo. |
@ovnisoftware Thank you! I will use your fork with much gratitude while I await a NuGet update. |
I've published a new release to NuGet, thanks @Kimmax and all the others! |
Can you send me the updated NuGet? |
Could not parse the Youtube page for URL http://youtube.com/watch?v=knN06v6UGUE
This may be due to a change of the Youtube page structure.
Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues
The text was updated successfully, but these errors were encountered: