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

How to solve??? Warning: explode(): Empty delimiter in xxxxxx\Provider\Youtube\SignatureDecipher.php #276

Closed
prodip56 opened this issue Oct 21, 2017 · 17 comments
Labels

Comments

@prodip56
Copy link

Hi,

I got an error using v0.5.1

Notice: Undefined offset: 1 in xxxxxx\Provider\Youtube\SignatureDecipher.php on line 36
Notice: Undefined offset: 1 in xxxxxx\Provider\Youtube\SignatureDecipher.php on line 118
Notice: Undefined offset: 1 in xxxxxx\Provider\Youtube\SignatureDecipher.php on line 129
Warning: explode(): Empty delimiter in xxxxxx\Provider\Youtube\SignatureDecipher.php on line 131
==== Failed to get deciphers function ====

What is problem? Help me please.....

@StefansArya
Copy link
Contributor

Can you send me the url to the video?

@prodip56
Copy link
Author

@RianWap
Copy link

RianWap commented Oct 22, 2017

i have the same problem too..

@StefansArya
Copy link
Contributor

I noticed that signature decipher was called so many times..
Because of that, the script was downloading youtube page more than once to retrieve the playerID and the player script cache was saved incorrectly..

Not sure if this can fix

$playerID = explode("\/yts\/jsbin\/player-", $playerID);

Replace line 44-45 with the code below

$temp = explode("\/yts\/jsbin\/player-", $playerID);
if(count($temp)==1)
 	$temp = explode("/yts/jsbin/player-", $playerID);
$playerID = $temp;

@RianWap
Copy link

RianWap commented Oct 23, 2017

i was replace.. but i got another error

@RianWap
Copy link

RianWap commented Oct 23, 2017

Fatal error: Uncaught Exception: Connection timed out after 3011 milliseconds in C:\xampp\htdocs\rianwap\get\src\Http\CurlClient.php:137 Stack trace: #0 C:\xampp\htdocs\rianwap\get\src\Http\CurlClient.php(43): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #53, Array) #1 C:\xampp\htdocs\rianwap\get\src\Application\ControllerAbstract.php(89): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array) #2 C:\xampp\htdocs\rianwap\get\src\Application\ResultController.php(198): YoutubeDownloader\Application\ControllerAbstract->getSize('https://r3---sn...', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit)) #3 C:\xampp\htdocs\rianwap\get\src\Application\App.php(69): YoutubeDownloader\Application\ResultController->execute() #4 C:\xampp\htdocs\rianwap\get\getvideo.php(4): YoutubeDownloader\Application\App->runWithRoute('results') #5 {main} Next RuntimeException: A curl error occurs while execute the curl handler. in C:\xampp\htdocs\rianwap\get\src\Http\CurlClie in C:\xampp\htdocs\rianwap\get\src\Http\CurlClient.php on line 140

@Art4 Art4 added the bug label Nov 21, 2017
@Art4 Art4 mentioned this issue Nov 21, 2017
@Art4 Art4 changed the title How to solve??? How to solve??? Warning: explode(): Empty delimiter in xxxxxx\Provider\Youtube\SignatureDecipher.php Nov 21, 2017
@guangrei
Copy link

after some refresh you'll get the script-working, it's better use regex instead explode() i guess

@StefansArya
Copy link
Contributor

regex would be slower because it would process 1MB text..

@ghost
Copy link

ghost commented Nov 24, 2017 via email

@rianwapID
Copy link

this problem is not solved yet.. iam still waiting for help how to solved this promlem..

not working http://ngedl.me/yt/getvideo.php?videoid=Dj-pjUuQ-xcY&type=Download (vevo)

working http://ngedl.me/yt/getvideo.php?videoid=Bv3hAI-b4UQ&type=Download

@ghost
Copy link

ghost commented Nov 25, 2017 via email

@rianwapID
Copy link

@jeckman
Copy link
Owner

jeckman commented Nov 25, 2017

rianwapID please follow this template:

Description

[Description of the issue]

Steps to Reproduce

Please include the direct url to the YouTube video.

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Version

Please include the version of YouTube-Downloader you are running. You can get this information from the footer in the web interface.

Additional Information

Any additional information, configuration, server OS and what version of the OS you're running or data that might be necessary to reproduce the issue.


Just saying "not working for me" doesn't give anyone the information they need to troubleshoot.

Trying the links you provided gives me a server error 500 - you'd need to look in your error logs to see what error is being thrown.

@dhkkim
Copy link

dhkkim commented Dec 5, 2017

the error appears to be random. when i hit refresh, it seems working.

@StefansArya
Copy link
Contributor

Well, if youtube has changed the decipher script you will need to hit refresh button again..

@rianwapID
Copy link

now its working :) http://ngedl.me/yt/getvideo.php?v=j-pjUuQ-xcY

@Art4
Copy link
Collaborator

Art4 commented Jan 3, 2018

Closed due no feedback.

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

No branches or pull requests

8 participants