Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

DecipherWithVersion not working on this #242

Open
RealManOfFewWords opened this issue Mar 6, 2017 · 6 comments
Open

DecipherWithVersion not working on this #242

RealManOfFewWords opened this issue Mar 6, 2017 · 6 comments

Comments

@RealManOfFewWords
Copy link

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?

@Tyrrrz
Copy link

Tyrrrz commented Mar 6, 2017

Try YoutubeExplode.
Itag 140 is the audio only stream.

2017-03-06 20_47_12-youtubeexplode demo

@OurIslam
Copy link

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

@Tyrrrz
Copy link

Tyrrrz commented Mar 24, 2017

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

@OurIslam
Copy link

@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,

@toolboc
Copy link

toolboc commented Apr 3, 2017

@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.

@OurIslam
Copy link

OurIslam commented Apr 4, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants