ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
7.17k stars 236 forks source link

Add shortcut for sending a term as a simple search engine query (eg. google) instead of scholars/libgen #90

Closed PurpleAzurite closed 3 years ago

PurpleAzurite commented 3 years ago

Or better yet, expose what URLs the application uses to perform searches in user config files. For instance, the libgen URL used in the current program version is inaccessible in my country. With the ability to change this in configs, this functionality can easily be restored.

ahrm commented 3 years ago

Or better yet, expose what URLs the application uses to perform searches in user config files. For instance, the libgen URL used in the current program version is inaccessible in my country. With the ability to change this in configs, this functionality can easily be restored.

We already do this. The relevant part in prefs.config is:

google_scholar_address  https://scholar.google.com/scholar?q=
libgen_address          http://gen.lib.rus.ec/scimag/?q=
ahrm commented 3 years ago

Added the ability to configure more than those two search engines in e0b68e417c45dcfb7bffbafd19ff6f7a52420bf9. See https://sioyek-documentation.readthedocs.io/en/latest/usage.html#external-search for more information.

PurpleAzurite commented 3 years ago

Thanks, the improvements work nicely.