iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.09k stars 1.78k forks source link

[Bug] Missing hash key: "videoDetails" (KeyError) #4935

Closed dj13-beep closed 2 hours ago

dj13-beep commented 3 hours ago

Describe the bug

Steps to Reproduce

Logs

Screenshots

Additional context

dj13-beep commented 3 hours ago

Title: Missing hash key: "videoDetails" (KeyError) Date: 2024-09-21T17:18:55Z Route: /watch?v=-azilJULOlc&ab_channel=LttL?v=-azilJULOlc&ab_channel=LttL Version: 2024.09.21-268c095 @ master

Backtrace

``` Missing hash key: "videoDetails" (KeyError) from src/invidious/helpers/helpers.cr:188 in 'dig' from /usr/lib/crystal/core/json/any.cr:342:3 in 'try_fetch_streaming_data' from src/invidious/videos/parser.cr:113:27 in 'extract_video_info' from /usr/lib/crystal/core/hash.cr:1280:13 in 'fetch_video' from src/invidious/videos.cr:369:13 in 'get_video:region' from src/invidious/routes/watch.cr:55:15 in 'handle' from lib/kemal/src/kemal/route.cr:13:9 in '->' from lib/kemal/src/kemal/config.cr:92:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from src/invidious/helpers/handlers.cr:94:12 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:32:7 in 'call_next' from /usr/lib/crystal/core/string.cr:3075:20 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:30:7 in 'call' from /usr/lib/crystal/core/http/server/request_processor.cr:51:11 in 'handle_client' from /usr/lib/crystal/core/fiber.cr:146:11 in 'run' from ??? ```