YoutubeExtractor icon indicating copy to clipboard operation
YoutubeExtractor copied to clipboard

DecipherWithVersion not working on this

Open RealManOfFewWords opened this issue 9 years ago • 6 comments

https://www.youtube.com/watch?v=_0a4GEGZCwE

with flagbug branch i got 8 urls, 4 times twice itag:22,18,36,17

with mysteryx93 branch i got only 404 (.js decipher), i used only Decipherer.cs and needed parts of VideoInfo.cs

Tested it with and without this needed Bugfix from flagbug branch.

//Find "C" in this: var A = B.sig||C (B.s) //string functNamePattern = @"\.sig\s*\|\|([a-zA-Z0-9\$]+)\("; //Regex Formed To Find Word or DollarSign string functNamePattern = @"\""signature"",\s?([a-zA-Z0-9\$]+)\("; //Regex Formed To Find Word or DollarSign

The expected result should be 6 Urls including iTag 140, can some1 confirm this behavior?

RealManOfFewWords avatar Mar 06 '17 11:03 RealManOfFewWords

Try YoutubeExplode. Itag 140 is the audio only stream.

2017-03-06 20_47_12-youtubeexplode demo

Tyrrrz avatar Mar 06 '17 18:03 Tyrrrz

@Tyrrrz is it works for 1080p with sound => without ffmpeg or old school

HFAsif avatar Mar 23 '17 22:03 HFAsif

@developerss Youtube only returns mixed streams of up to 720p quality, higher ones are video-only that you have to mix yourself

Tyrrrz avatar Mar 24 '17 10:03 Tyrrrz

@Tyrrrz ur project is great . i took sts mix in video_info Gets nice result . i use that context in my extractor project . Your project code arrangement so cool and proper,

HFAsif avatar Mar 25 '17 21:03 HFAsif

@RealManOfFewWords , I was able to verify your issue.

That said, the updated Decipherer in #245 works fine with the link you provided. This Decipherer is based on https://github.com/gantt/downloadyoutube which was one of the very first MP4 download scripts that took on encrypted video signatures. It is also one of the fastest to update during breaking changes. If we shift to the strategy employed by @gantt , we can benefit from these properties if/when things break again.

toolboc avatar Apr 03 '17 23:04 toolboc

@RealManOfFewWords i was done that long time ago just old sig to new signeture in functNamePattern . very simple

HFAsif avatar Apr 04 '17 04:04 HFAsif