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

==== Failed to get deciphers function ==== #289

Closed
Chandrajeetdas opened this issue Nov 17, 2017 · 11 comments
Closed

==== Failed to get deciphers function ==== #289

Chandrajeetdas opened this issue Nov 17, 2017 · 11 comments

Comments

@Chandrajeetdas
Copy link

Description

I am getting this error while downloading ciphered signature videos but when i refresh the page after 2-3 retry it works fine.
The full error goes here..

Notice: Undefined offset: 1 in C:\wamp64\www\YouTube-Downloader\src\Provider\Youtube\SignatureDecipher.php on line 36

1 | 0.0003 | 365680 | {main}( ) | ...\getvideo.php:0
2 | 0.0054 | 478872 | YoutubeDownloader\Application\App->runWithRoute( ) | ...\getvideo.php:4
3 | 0.0080 | 555272 | YoutubeDownloader\Application\ResultController->execute( ) | ...\App.php:69
4 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->getUrl( ) | ...\ResultController.php:191
5 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->parseUrl( ) | ...\Format.php:183
6 | 9.8710 | 1139824 | YoutubeDownloader\Provider\Youtube\SignatureDecipher::getPlayerInfoByVideoId( ) | ...\Format.php:124

Notice: Undefined offset: 1 in C:\wamp64\www\YouTube-Downloader\src\Provider\Youtube\SignatureDecipher.php on line 129

1 | 0.0003 | 365680 | {main}( ) | ...\getvideo.php:0
2 | 0.0054 | 478872 | YoutubeDownloader\Application\App->runWithRoute( ) | ...\getvideo.php:4
3 | 0.0080 | 555272 | YoutubeDownloader\Application\ResultController->execute( ) | ...\App.php:69
4 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->getUrl( ) | ...\ResultController.php:191
5 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->parseUrl( ) | ...\Format.php:183
6 | 10.9005 | 1141992 | YoutubeDownloader\Provider\Youtube\SignatureDecipher::decipherSignatureWithRawPlayerScript( ) | ...\Format.php:143

Warning: explode(): Empty delimiter in C:\wamp64\www\YouTube-Downloader\src\Provider\Youtube\SignatureDecipher.php on line 131

1 | 0.0003 | 365680 | {main}( ) | ...\getvideo.php:0
2 | 0.0054 | 478872 | YoutubeDownloader\Application\App->runWithRoute( ) | ...\getvideo.php:4
3 | 0.0080 | 555272 | YoutubeDownloader\Application\ResultController->execute( ) | ...\App.php:69
4 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->getUrl( ) | ...\ResultController.php:191
5 | 9.8709 | 1136504 | YoutubeDownloader\Provider\Youtube\Format->parseUrl( ) | ...\Format.php:183
6 | 10.9005 | 1141992 | YoutubeDownloader\Provider\Youtube\SignatureDecipher::decipherSignatureWithRawPlayerScript( ) | ...\Format.php:143
7 | 11.0761 | 1142888 | explode ( ) | ...\SignatureDecipher.php:131

[Description of the issue]

Version

Latest version

Additional Information

@prodip56
Copy link

i have the same problem too..

@Art4
Copy link
Collaborator

Art4 commented Nov 21, 2017

The SignatureDecipher needs a whole rewrite...

see #300

@ghost
Copy link

ghost commented Nov 21, 2017 via email

@StefansArya
Copy link
Contributor

There are some loop when calling the decipher and sometime it passed empty string instead of video id..
getPlayerInfoByVideoId( ) should only being called once because it's downloading 1MB file, and only one file needed as a decipher reference before calling decipherSignatureWithRawPlayerScript( )

I still using the signature decipher on my own PHP library, and it still working..

@SSuhanya
Copy link

I have same problem. Please help me.........

@ilaven
Copy link

ilaven commented Feb 21, 2018

Hi Please check this link its working.
Failed to get deciphers function

Repository owner deleted a comment from hex-firebone Jul 9, 2018
@jeckman
Copy link
Owner

jeckman commented Aug 28, 2018

I don't believe this is still an issue

@jeckman jeckman closed this as completed Aug 28, 2018
@Izvekov
Copy link

Izvekov commented Nov 4, 2018

This link videoid=MTuxos4EXow gives an error ==== Failed to get signature function ====
using the latest version SignatureDecipher.php. It is possible to fix it?

@jeckman
Copy link
Owner

jeckman commented Nov 5, 2018

Are you using not just "the latest version SignatureDecipher.php" but the latest of the whole project?

@Izvekov
Copy link

Izvekov commented Nov 5, 2018

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

Updated all files, now the error is different.

Fatal error: Uncaught exception 'InvalidArgumentException' in yt/src/Config.php:99 Stack trace: #0 yt/src/Application/ResultController.php(176): YoutubeDownloader\Config->get('localCache') #1 yt/src/Application/App.php(83): YoutubeDownloader\Application\ResultController->execute() #2 yt/getvideo.php(23): YoutubeDownloader\Application\App->runWithRoute('results') #3 {main} thrown in yt/src/Config.php on line 99

@Izvekov
Copy link

Izvekov commented Nov 5, 2018

Deleted everything again and reinstalled. The error is gone. Sorry to bother you.

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

8 participants