Play store search script

This commit is contained in:
sriramsv
2022-09-03 19:38:47 -07:00
parent 0a5958e940
commit fbc0ae4071

View File

@@ -0,0 +1,25 @@
-- name = "Play Store"
-- description = "Search anything in playstore app"
-- data_source = "internal"
-- type = "search"
-- author = "Sriram SV"
-- version = "1.0"
-- prefix = "playstore|play|appstore|store"
text_from = ""
text_to = ""
local md_color = require "md_colors"
local green = md_colors.green_600
function on_search(input)
text_from = input
text_to = ""
search:show({input},{green})
end
function on_click(idx)
system:open_browser("https://play.google.com/store/search?q="..text_from)
end