masihyeganeh / YoutubeDownloader

Youtube video downloader (abandoned)
MIT License
123 stars 58 forks source link

Uncaught exception 'Masih\\YoutubeDownloader\\YoutubeException' with message 'exception 'V8JsException' with message 'base.js:7625 #13

Closed jianub closed 6 years ago

jianub commented 7 years ago

I get the following error. This is my V8js config :

V8 Javascript Engine enabled V8 Engine Compiled Version 3.14.5.8 V8 Engine Linked Version 3.14.5.8 Version 0.1.3

[Tue Jan 03 16:25:37.090572 2017] [:error] [pid 2255] [client 188.25.186.45:52902] PHP Fatal error: Uncaught exception 'Masih\YoutubeDownloader\YoutubeException' with message 'exception 'V8JsException' with message 'base.js:7625: TypeError: Object #<Masih\YoutubeDownloader\WindowStub> has no method '$signature'' in /var/www/www-root/data/www/youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php:339\nStack trace:\n#0 /var/www/www-root/data/www/youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php(339): V8Js->executeString('var _yt_player=...', 'base.js')\n#1 /var/www/www-root/data/www/youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php(459): Masih\YoutubeDownloader\YoutubeDownloader->decryptSignature('E2FA18845FA379D...', 'var _yt_player=...')\n#2 /var/www/www-root/data/www/youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php(528): Masih\YoutubeDownloader\YoutubeDownloader->getVideoInfo()\n#3 /var/www/www-root/data/www/youtubeable.net/download2/index.php(9): Masih\YoutubeDownloader\YoutubeDownloader->getInfo()\n#4 {main}' in /var/www/www-ro in /var/www/www-root/data/www/youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php on line 341

masihyeganeh commented 7 years ago

Please give me the video ID so I can inspect it. It is not because of V8Js. Your setup is ok

On Jan 4, 2017 12:55 AM, "jianub" notifications@github.com wrote:

I get the following error. This is my V8js config :

V8 Javascript Engine enabled V8 Engine Compiled Version 3.14.5.8 V8 Engine Linked Version 3.14.5.8 Version 0.1.3

[Tue Jan 03 16:25:37.090572 2017] [:error] [pid 2255] [client 188.25.186.45:52902] PHP Fatal error: Uncaught exception 'Masih\YoutubeDownloader\YoutubeException' with message 'exception 'V8JsException' with message 'base.js:7625: TypeError: Object

<Masih\YoutubeDownloader\WindowStub> has no method '$signature'' in

/var/www/www-root/data/www/youtubeable.net/download2/Masih/ YoutubeDownloader/YoutubeDownloader.php:339\nStack http://youtubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php:339%5CnStack trace:\n#0 /var/www/www-root/data/www/youtubeable.net/download2/Masih/ YoutubeDownloader/YoutubeDownloader.php(339): V8Js->executeString('var _yt_player=...', 'base.js')\n#1 /var/www/www-root/data/www/you tubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php(459): Masih\YoutubeDownloader\YoutubeDownloader->decryptSignature('E2FA18845FA379D...', 'var _yt_player=...')\n#2 /var/www/www-root/data/www/you tubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php(528): Masih\YoutubeDownloader\YoutubeDownloader->getVideoInfo()\n#3 /var/www/www-root/data/www/youtubeable.net/download2/index.php(9): Masih\YoutubeDownloader\YoutubeDownloader->getInfo()\n#4 {main}' in /var/www/www-ro in /var/www/www-root/data/www/you tubeable.net/download2/Masih/YoutubeDownloader/YoutubeDownloader.php on line 341

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/masihyeganeh/YoutubeDownloader/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AAqQb69boLbFFJ2_6LlS1iMzPGrrjza_ks5rOrzdgaJpZM4LaCx7 .

jianub commented 7 years ago

9u7hGkL57N8 is the videoid

masihyeganeh commented 7 years ago

Thanks for reporting. Will fix it today and release a new version.

masihyeganeh commented 6 years ago

This bug has been fixed in previous versions and will definitely work in the new 2.9.0 version. test it if you want