Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Engine request: searchmysite.net #2817

Open
eagle-dogtooth opened this issue May 16, 2021 · 1 comment
Open

Engine request: searchmysite.net #2817

eagle-dogtooth opened this issue May 16, 2021 · 1 comment

Comments

@eagle-dogtooth
Copy link

Working URL to the engine
https://searchmysite.net/

Why do you want to add this engine?
Fairly new, smaller, interesting search engine that highlights personal and noncommercial websites

Features of this engine
Open source, independent search engine that only indexes personal and independent websites

How can Searx fetch the information from this engine?
Their API info is at https://searchmysite.net/pages/documentation/#api
Using the given API info I tried adding the below to settings.yml, but it only returns content local to the site and not their search engine results:

Needs some work to figure out how to get their full search engine results.

Applicable category of this engine
general

Additional context

@eagle-dogtooth
Copy link
Author

Using xpath instead of their API, I'm pulling in search results but can't figure out the content_xpath part. Any assistance here is appreciated:

  - name : searchmysite
    shortcut: smst
    engine: xpath
    timeout : 3.0
    paging : True
    disabled : True
    search_url : https://searchmysite.net/search/?q={query}&p={pageno}
    url_xpath : //div[@class="search-result"]/a[@class="result-link"]
    title_xpath : //div[@class="search-result"]/h5/a[@class="result-title"]
# can't figure out how to pull in descriptions but the rest now works.  Figure this last bit out:
    content_xpath : //div[@class="search-result"]/h5/a[@class="result-title"]/text()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant