Solved How to set up custom freebsd forum search in qutebrowser ?

As topic states.
Started to use Qutebrowser and now i want to use custom key-bind for each custom freebsd search.
Some other websites like google etc have easy address and freebsd forum no!
Example: youtube:
Code:
https://www.youtube.com/results?search_query={}
This would allow me to use search and freebsd
Code:
https://forums.freebsd.org/search/455108/?q=xorg&o=date
as we can see - random in between word SEARCH and /?q
If i choose Topic search - another random number and some brackets later..
Freshports on another hand - its easy as well, no random numbers
Does anyone have some sort of insight or did themselves shortcut inside Qutebrowser for search specific websites ?
P.s:
If use freebsd.org/search/{} - it wont work i get error -

Oops! We ran into some problems.​


The requested page could not be found.

Thank You.
 
You should view-source: or Inspect (a “developer tools” function) the page. It is just a regular HTML <form>. Specify the <input> name attributes (e. g. keywords instead of q). Although the search expects a POST request (see <form>’s method attribute), GET seems to work just fine (if you stay within the URL length limits, of course):​
Code:
https://forums.FreeBSD.org/search/search?keywords=Qutebrowser+search
 
You should view-source: or Inspect (a “developer tools” function) the page. It is just a regular HTML <form>. Specify the <input> name attributes (e. g. keywords instead of q). Although the search expects a POST request (see <form>’s method attribute), GET seems to work just fine (if you stay within the URL length limits, of course):​
Code:
https://forums.FreeBSD.org/search/search?keywords=Qutebrowser+search
Awesome. I kinda forgot about view-source.
Works like a charm.
Code:
https://forums.FreeBSD.org/search/search?keywords={}
Thanks !
 
Back
Top