Decimation / SmartImage

Reverse image search tool (SauceNao, IQDB, Ascii2D, trace.moe, and more)
GNU General Public License v3.0
590 stars 28 forks source link

[IQDB] URL broken #11

Closed Xanawatt closed 3 years ago

Xanawatt commented 3 years ago

the link appears like this when I do a search: image

it opens like that in the browser as well, leading to a broken page

Decimation commented 3 years ago

This is normal behavior. The result is supposed to be the most accurate result link, not necessarily the search link (i.e. https://iqdb.org/?url=.... I have been considering adding the ability to open the search link, which is what I'm guessing you want?

leading to a broken page

What do you mean by this?

Xanawatt commented 3 years ago

no, it's because of the http:https:// This page doesn't exist because when opened in a browser, the page gives http:https//yande.re/post/show/589623 Somewhere, it looks like you're appending http or something.

Xanawatt commented 3 years ago

btw, in regards to your assumption. I like what you did with the saucenao results with holding alt to get the other results. (It maybe could be applied to other search engines)

Decimation commented 3 years ago

Oh, woops, I didn't see that.

You're correct, I append "http:" to IQDB's results. It turns out that some results from IQDB already have "http:" prefixes, which is why that bug occurred. I'll have a fix for this soon.

Decimation commented 3 years ago

@Xanawatt Ok, try v2.1.

Xanawatt commented 3 years ago

yup, worked perfectly! Thanks!

Decimation commented 3 years ago

Great! No problem.

Also:

btw, in regards to your assumption. I like what you did with the saucenao results with holding alt to get the other results. (It maybe could be applied to other search engines)

It's actually used for all engines, so long as there are other results (that can be parsed).

Xanawatt commented 3 years ago

Ah, I see now. Nice!