iv-org / invidious

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

[Bug] Invalid Int32: "@bordersecurityaustralia5634" (ArgumentError) #3411

Closed trentwiles closed 1 year ago

trentwiles commented 1 year ago

Describe the bug Upon searching "border security" on yewtu.be, this error appears.

Title: Invalid Int32: "@bordersecurityaustralia5634" (ArgumentError) Date: 2022-11-19T18:27:46Z Route: /search?q=border+security Version: 2022.11.17-e726eaf @ master

Backtrace

Invalid Int32: "@bordersecurityaustralia5634" (ArgumentError) from /usr/lib/crystal/core/int.cr:957:11 in 'to_i32' from src/invidious/helpers/utils.cr:176:3 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:56:7 in 'search' from lib/kemal/src/kemal/config.cr:92:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28: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:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call' from /usr/lib/crystal/core/http/server/handler.cr:28:7 in 'call_next' from lib/kemal/src/kemal/init_handler.cr:12:7 in 'process' from /usr/lib/crystal/core/http/server.cr:500:5 in '->' from /usr/lib/crystal/core/fiber.cr:146:11 in 'run' from /src/boringssl/src/google-boringssl-251b516/ssl/internal.h:334:8 in '??'

Steps to Reproduce

  1. Use yewtu.be
  2. Search border security

Logs

Screenshots

Additional context Tor Browser yewtu.be is using 2022.11.17-e726eaf

unixfox commented 1 year ago

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