paulgoio / searxng

SearXNG image with changed simple theme, settings.yml
https://paulgo.io
GNU Affero General Public License v3.0
100 stars 23 forks source link

Bug: imdb engine #14

Closed fleurc closed 2 years ago

fleurc commented 2 years ago

Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG Repository: https://github.com/paulgoio/searxng Branch: main Version: 1.0.0

Technical report

Error

Error

mrpaulblack commented 2 years ago

Hi @fleurc , Thank you for your second bug report! Is IMDB getting blocked a lot for you? Looking at the error rate its only 15%... And checking: https://paulgo.io/search?q=%21imdb%20time&language=en-US&time_range=None&safesearch=1&categories=none works correctly for me. If this only happens sometimes I would like to close the issue, since the API still works correctly and getting sometimes blocked is normal.

[EDIT] wait I just saw that the error rate is actually pretty high: image (I am going to check this a bit further first)

Also if you can get IMDB to break consistently could you share the query you are using?

Just to have it here: image

fleurc commented 2 years ago

Sure, it was happening pretty often, but not exactly bothering me too much, i'll try to find a specific query to see if it breaks consistently

Here's a Query that gives the error consistently: Arcane Netflix Screenshot 2021-12-06 09 22 23

fleurc commented 2 years ago

That seems to be a pretty consistent behavior on some queries. If i search Spiderman Homecoming for an example it doesn't give any parsing error.

dalf commented 2 years ago

See https://github.com/searxng/searxng/pull/588 : the error appears when there is no result.

mrpaulblack commented 2 years ago

Woow that was fast. Thank you @dalf

mrpaulblack commented 2 years ago

Fixed in 5459ba20bd0155237812343bd071470d8e8359ff and https://github.com/searxng/searxng/commit/24c7d6300e4765be046b4e2bb1fde6d280ba049e upstream; Closing.