Alltube Download from YouTube fails
-
Download from YouTube fails:
This is the result when trying to download a video:
/usr/bin/python' 'vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py' '--no-warnings' '--ignore-errors' '--flat-playlist' '--restrict-filenames' '--no-playlist' '--dump-single-json' '
' '-f' 'best/bestvideo' failed with this error: ERROR: Li77fk4Vjys: YouTube said: Unable to extract video dataDoes anybody has an idea how to fix?
-
@captain-kirk try a hard refresh? I seem to remember that error from clicking back and entering a new URL.
-
@marcusquinn Did it. Deleted Cache... reinstalled... nothing works. hmmmm
-
@captain-kirk odd, not used it for a while but that's the issue I had when trying last time and it worked after a hard refresh.
Just tried that YT link on my instance and it's not downloading but no error, just a blank screen with the logo at the top. Just updated to Cloudron 6.0, so maybe related, maybe not.
Maybe a few more testers here will yield a diagnosable pattern?
-
@marcusquinn @Captain-Kirk For me, it failed the first time. Then, I tried a couple of times and suddenly it starts working.
-
I see this backtrace:
14:17:20 - [error] Alltube\Library\Exception\YoutubedlException: '/usr/bin/python' 'vendor/ytdl-org/youtube-dl/youtube_dl/__main__.py' '--no-warnings' '--ignore-errors' '--flat-playlist' '--restrict-filenames' '--no-playlist' '--dump-single-json' '
' '-f' 'best/bestvideo' failed with this error: 14:17:20 - ERROR: Nt6-dzrqHZQ: YouTube said: Unable to extract video data in /app/code/vendor/rudloff/alltube-library/classes/Downloader.php:264 14:17:20 - Stack trace: 14:17:20 - #0 /app/code/vendor/rudloff/alltube-library/classes/Video.php(124): Alltube\Library\Downloader->callYoutubedl(Array) 14:17:20 - #1 /app/code/vendor/rudloff/alltube-library/classes/Video.php(138): Alltube\Library\Video->getProp('dump-single-jso...') 14:17:20 - #2 /app/code/classes/Controller/FrontController.php(151): Alltube\Library\Video->getJson() 14:17:20 - #3 /app/code/classes/Controller/FrontController.php(215): Alltube\Controller\FrontController->getInfoResponse(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #4 [internal function]: Alltube\Controller\FrontController->info(Object(Slim\Http\Request), Object(Slim\Http\Response), Array) 14:17:20 - #5 /app/code/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array) 14:17:20 - #6 /app/code/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array) 14:17:20 - #7 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #8 /app/code/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #9 /app/code/vendor/slim/slim/Slim/App.php(503): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #10 /app/code/classes/Middleware/LocaleMiddleware.php(84): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #11 [internal function]: Alltube\Middleware\LocaleMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Alltube\App)) 14:17:20 - #12 /app/code/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Alltube\Middleware\LocaleMiddleware), Array) 14:17:20 - #13 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Alltube\App)) 14:17:20 - #14 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Alltube\App)) 14:17:20 - #15 /app/code/classes/Middleware/CspMiddleware.php(68): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #16 [internal function]: Alltube\Middleware\CspMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #17 /app/code/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Alltube\Middleware\CspMiddleware), Array) 14:17:20 - #18 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #19 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #20 /app/code/classes/Middleware/LinkHeaderMiddleware.php(44): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #21 [internal function]: Alltube\Middleware\LinkHeaderMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #22 /app/code/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Alltube\Middleware\LinkHeaderMiddleware), Array) 14:17:20 - #23 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #24 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #25 /app/code/classes/Middleware/RouterPathMiddleware.php(42): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #26 [internal function]: Alltube\Middleware\RouterPathMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #27 /app/code/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array(Object(Alltube\Middleware\RouterPathMiddleware), Array) 14:17:20 - #28 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #29 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure)) 14:17:20 - #30 /app/code/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #31 /app/code/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #32 /app/code/vendor/slim/slim/Slim/App.php(297): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response)) 14:17:20 - #33 /app/code/index.php(17): Slim\App->run() 14:17:20 - #34 {main} -
For YouTube I normally just use a Firefox browser extension
Edit: this one:
https://addons.mozilla.org/en-US/firefox/addon/easy-youtube-video-download/ -
@captain-kirk @marcusquinn Try the latest package, updating youtube-dl seems to make it work again.