jeckman / YouTube-Downloader

PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
GNU General Public License v2.0
895 stars 474 forks source link

Youtu.be url is not working #437

Open itwebserverhost opened 4 years ago

itwebserverhost commented 4 years ago

Description

youtu.be is giving error

Notice: Undefined index: url in /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Provider/Youtube/VideoInfo.php on line 308

Fatal error: Uncaught Exception in /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Http/CurlClient.php:203 Stack trace: #0 /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Http/CurlClient.php(113): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #58, Array) #1 /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Http/CurlClient.php(76): YoutubeDownloader\Http\CurlClient->sendRequest(Object(YoutubeDownloader\Http\Request)) #2 /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Application/ControllerAbstract.php(105): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array) #3 /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Application/ResultController.php(174): YoutubeDownloader\Application\ControllerAbstract->getSize('', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit)) #4 /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Appli in /home/c9solution/domains/c9solution.com/public_html/getuvid/test/d/src/Http/CurlClient.php on line 206

Steps to Reproduce

Please include the direct url to the YouTube video. Link is youtu.be/9z-OdVdr1YE https://www.youtube.com/watch?v=4piorqrWOSI

  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.