iv-org / invidious

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

Title: `Invalid Int32: "@fangzhouzi-official" (ArgumentError)`[Bug] #3443

Closed bwplan closed 1 year ago

bwplan commented 1 year ago

Title: Invalid Int32: "@fangzhouzi-official" (ArgumentError) Date: 2022-11-28T18:08:45Z Route: /search?q=%E6%96%B9%E8%88%9F%E5%AD%90 Version: 2022.11.02-09942de @ master

Backtrace

``` Invalid Int32: "@fangzhouzi-official" (ArgumentError) from /usr/share/crystal/src/int.cr:957:11 in 'to_i32' from /usr/share/crystal/src/string.cr:333:5 in 'short_text_to_number' from src/invidious/yt_backend/extractors.cr:173:20 in 'process' from src/invidious/yt_backend/extractors.cr:707:17 in 'extract_item' from src/invidious/yt_backend/extractors.cr:738:28 in 'extract_items' from src/invidious/search/processors.cr:12:14 in 'process' from src/invidious/routes/search.cr:55:18 in 'search' from src/invidious/helpers/handlers.cr:30:37 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call' from /usr/share/crystal/src/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process' from /usr/share/crystal/src/http/server.cr:500:5 in '->' from /usr/share/crystal/src/fiber.cr:146:11 in 'run' from ??? ```

Describe the bug

Steps to Reproduce

Logs

Screenshots

Additional context

unixfox commented 1 year ago

https://github.com/iv-org/invidious/issues/3394