evan-buss / openbooks

Search and Download eBooks
https://evan-buss.github.io/openbooks/
MIT License
1.77k stars 57 forks source link

Search don't work #138

Open gahmasec opened 1 year ago

gahmasec commented 1 year ago

When I do a search, it keeps looking but doesn't show any results. And yes, I get the notification "Welcome, connection established". Any solution?

evan-buss commented 1 year ago

When you do a search, you should see "Search accepted into queue" within seconds. If not, assume that you are being blocked / banned from the IRC server. You will always see "Welcome, connection established" which just means that you've connected to the IRC server even if you are banned.

The most import thing is to specify a --useragent when starting it as I believe once they see "OpenBooks" in your useragent they will automatically ban you. Bans are associated with your IP address and usually wear off in a few days. Change your username between bans as well.

miniquandt commented 1 year ago

Same thing happen/happened to me. When updating my useragent on my network still nothing happens, but I am able to view and download books when tethered to data. So I guess my home is also banned.

I used docker and ran: docker run -p 8080:80 evanbuss/openbooks -u [myusernameofchoice] -n [myusernameofchoice]

Might be helpful to add a section in the docs, I wouldn't have known otherwise unless I saw this thread.

ruihaut commented 1 year ago

I had a similar issue and posted the way I resolved this here.

Basically, I added the following argument and I got the search working again :

--searchbot searchook
juliopcrj commented 5 months ago

I had the same issue when I was using a username that was already registered ( I do have an account on irchighway). I just changed the --name flag, and it worked.