Open tusing opened 6 years ago
Are there alternative search engines that could do the job? StartPage, DuckDuckGo, etc?
Is there any reason we can't use the fanfiction search funciton? Is it just bad or lack of API also?
We might also be able to use the Custom Search Restriction json API
The reason is that I have no time to work on this anymore :( But I will gladly take pull requests that fix the search functionality! Would you be willing to work on this?
Yeah totally (once finals are done). I just didn't want to go down a path you tried and already abandoned.
Would it be possible for me to get the logs?
When the bot receives a request, it searches for that request in Google (adding on, for example, "site:fanfiction.net" to the query if the request was for fanfiction.net).
The script we use to search Google will not work forever. Google doesn't really have an API and it's cracking down on script-based access. To ensure the stability of the bot, we'll want to use a sanctioned API-based method of crawling Google.
An option might be Google's Custom Search APIs, where we define Custom Search over the two or three websites we support. We would then replace our call to the Google script with a call to Custom Search.