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

==== Failed to get deciphers function ==== #341

Closed
uditvishnoi2 opened this issue Sep 8, 2018 · 14 comments · Fixed by #344
Closed

==== Failed to get deciphers function ==== #341

uditvishnoi2 opened this issue Sep 8, 2018 · 14 comments · Fixed by #344

Comments

@uditvishnoi2
Copy link

uditvishnoi2 commented Sep 8, 2018

Description

Youtube extraction failed when enable_youtube_decipher_signature is set to true , for every video

Steps to Reproduce

Please include the direct url to the YouTube video.

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

Expected behavior:

links to download videos

Actual behavior:

Notice: Undefined offset: 1 in
yt/src/Provider/Youtube/SignatureDecipher.php on line 193

Warning: explode(): Empty delimiter in
yt/src/Provider/Youtube/SignatureDecipher.php on line 202

Version

Latest code taken from master branch , it was working till day before yesterday, but it has stopped working now.
it seems there is change in youtube signature , ytdl-org/youtube-dl#17464.

thanks

@jonttm
Copy link

jonttm commented Sep 9, 2018

Have the same issue testing with this video - https://www.youtube.com/watch?v=rP5nfac1bw4

Notice: Undefined offset: 1 in /var/www/html/downloader/src/Provider/Youtube/SignatureDecipher.php on line 193

Warning: explode(): Empty delimiter in /var/www/html/downloader/src/Provider/Youtube/SignatureDecipher.php on line 201

Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/downloader/src/Provider/Youtube/SignatureDecipher.php on line 201
==== Failed to get deciphers function ====

@ghost
Copy link

ghost commented Sep 9, 2018 via email

@harisnaeemofficial
Copy link

Having same issue with this video URL http://youtube.com/watch?v=q2gICJFG6uw
Error : ==== Failed to get deciphers function ====
If 'enable_youtube_decipher_signature' = false then it shows 0B size and url without signature .
This problem occurs with most of the videos . Signature is not including inside the video but it is resulting in an array seprated from url like this

array (
'itag' => '43',
's' => '3232BA30453D8D266CB70B41F69B3A04DD2EB2A6F1.65EB176B2E420E46260BCC046463D9338A4F30831',
'url' => 'https://r2---sn-q4flrne7.googlevideo.com/videoplayback?dur=0.000&mime=video%2Fwebm&itag=43&mm=31%2C26&source=youtube&mn=sn-q4flrne7%2Csn-qxoedn7z&ratebypass=yes&ip=69.162.84.122&gir=yes&fvip=2&ei=8QWaW7mOIdHJigStubPoDA&id=o-AKiFtSWB1yIM50DLruBmZmznkGhmcjmy9druByr5z4Pb&ms=au%2Conr&mt=1536820133&pl=22&mv=u&c=WEB&key=yt6&clen=10876908&expire=1536842321&lmt=1521495222748015&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&requiressl=yes',
'quality' => 'medium',
),
'data_parsed' => false,
'raw_data' =>
array (
'url' => 'https://r2---sn-q4flrne7.googlevideo.com/videoplayback?dur=0.000&mime=video%2Fwebm&itag=43&mm=31%2C26&source=youtube&mn=sn-q4flrne7%2Csn-qxoedn7z&ratebypass=yes&ip=69.162.84.122&gir=yes&fvip=2&ei=8QWaW7mOIdHJigStubPoDA&id=o-AKiFtSWB1yIM50DLruBmZmznkGhmcjmy9druByr5z4Pb&ms=au%2Conr&mt=1536820133&pl=22&mv=u&c=WEB&key=yt6&clen=10876908&expire=1536842321&lmt=1521495222748015&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ipbits=0&requiressl=yes',
'sp' => 'signature',
'type' => 'video/webm; codecs="vp8.0, vorbis"',
'itag' => '43',
'quality' => 'medium',
's' => '3232BA30453D8D266CB70B41F69B3A04DD2EB2A6F1.65EB176B2E420E46260BCC046463D9338A4F30831',
),

@hzlooker
Copy link

me too

1 similar comment
@heyndre
Copy link

heyndre commented Sep 23, 2018

me too

@BudComSol
Copy link

Me three !

@Lucky420
Copy link

It doesn't work for no one ?

@jswails
Copy link

jswails commented Oct 21, 2018 via email

@jeckman
Copy link
Owner

jeckman commented Oct 22, 2018

Is it only the cypher signature feature that's broken? I've never actually used that so I don't have good test cases.

@hzlooker @SnappaGuy @Lucky420 @jswails Is the problem you are having with the cypher signature error message that @harisnaeemofficial quotes above, or are you having other problems?

My assumption is that YouTube has rolled out changes to their cypher signature algorithm and until someone develops code to handle those new signatures (or ports it from one of the other packages) this will continue to fail.

@jswails
Copy link

jswails commented Oct 22, 2018 via email

@jeckman
Copy link
Owner

jeckman commented Oct 22, 2018

Can y'all who are having this problem try the code with this pull request from @jenyak I just merged?

@BelleNottelling
Copy link
Contributor

Fixed for me

@heyndre

This comment has been minimized.

@ghost
Copy link

ghost commented Oct 23, 2018

@BenNottelling 720p videos don't show in List of available formats for download but in Separated video and audio format.

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

Successfully merging a pull request may close this issue.

10 participants