e04_google_search_with_suggestion#
Feature:
The user types a query and receives a dropdown list of Google search suggestions. The user can then tap “Enter” to perform a Google search in their web browser.
Difficulty: Medium
Dependencies:
pip install requests
Demo: https://asciinema.org/a/616014
- class zelfred.gallery.e04_google_search_with_suggestion.Item(title: str, subtitle: Union[str, NoneType] = None, uid: str = <factory>, arg: Union[str, NoneType] = None, autocomplete: Union[str, NoneType] = None, variables: Dict[str, Any] = <factory>)[source]#
- zelfred.gallery.e04_google_search_with_suggestion.encode_query(query: str) str[source]#
Encode the query to be used in the url.