I’m making a runner script to automate net searches. Add your most commonly used search URLs to the dictionary and associated hotstrings, and I’ll post the final script when it’s done.
#!/bin/bash
: '
List of search engines urls and associated hotstrings.
$query = the search query.
$asset_symbol = the asset symbol to use in crypto/financial searches.
$counter_asset_symbol = the counter asset used in crypto/financial charts.
dictionary key = the hotstring that calls the url. Change to your liking.
'
declare -A search_urls
search_urls=(
# Text search engines
['dg']="https://duckduckgo.com/?q=$query&t=h_&ia=web"
['qw']="https://www.qwant.com/?q=$query&t=web"
['ba']="https://search.brave.com/search?q=$query&source=web"
['go']="https://www.google.com/search?q=$query" # The evil google. Use at your own risk.
# Image
['dgi']="https://duckduckgo.com/?q=$query&t=h_&iax=images&ia=images"
['qwi']="https://www.qwant.com/?t=images&q=$query"
['goi']="https://www.google.com/search?q=$query&source=lnms&tbm=isch&dpr=1"
# Video search
['od']="https://odysee.com/$/search?q=$query"
['bc']="https://www.bitchute.com/search/?query=$query&kind=video"
['vm']="https://vimeo.com/search?q=$query"
['yt']="https://www.youtube.com/results?search_query=$query"
# Research
['ar']="https://archive.org/search.php?query=$query"
['pa']="https://patents.google.com/?q=query&oq=$query"
['wi']="https://en.wikipedia.org/wiki/$query"
# Independent media
['cr']="https://www.corbettreport.com/?s=$query"
# Natural law
['mp']="https://www.whatonearthishappening.com/component/search/?searchword=$query&searchphrase=all"
['ogn']="https://onegreatworknetwork.com/search?q=$query"
# Coding
['sa']="https://stackoverflow.com/search?q=$query"
# Books
['bn']="https://www.barnesandnoble.com/s/$query"
# Shopping
['os']="https://www.overstock.com/search?keywords=$query"
['eb']="https://www.ebay.com/sch/i.html?_nkw=$query&_sacat=0"
['ae']="https://www.aliexpress.com/wholesale?catId=0&SearchText=$query"
['ab']="https://www.alibaba.com/trade/search?fsb=y&IndexArea=product_en&CatId=&SearchText=$query"
['am']="https://www.amazon.com/s?k=$query"
# Charts
['ct']="https://charts.cointrader.pro/charts.html?coin=$asset_symbol%3A$counter_asset_symbol"
['cg']="https://beta.coinigy.com/markets/$exchange_symbol/$asset_symbol/$counter_asset_symbol"
#Crypto
['cmc']="https://coinmarketcap.com/currencies/$asset_name/"
['cc']="https://coincheckup.com/coins/$asset_name"
['ce']="https://www.coingecko.com/en/coins/$asset_name"
)
# text, video, image, research, independent media, charts, crypto, coding, natural law, shopping
# add, delete to your liking.
# Duckduckgo, Quant, Brave, Odyssey, Evil Google
text_engines='dg qw ba od go'
# Odyssey, Bitchute, Vimeo, evil Youtube
video_engines='od bc vm yt'
# Duckduckgo, Odyssey
images_engines='dgi odi'
# Archive.org, Patents
research_engines='ar pa wi'
# Corbettreport, Oneeyemedia
indie_media='cr'
# Cointraderpro, Coinigy
chart_engines='ct cg'
# Coinmarketcap, Cryptocompare, Coingecko
crypto_engines='cmc ce'
# Stackoverflow
coding_engines='sa'
# Oneeyemedia, Markpasio
natural_law_engines='ogn mp'
# Openbazzar, Aliexpress, Alibaba, evil Ebay, evil Amazon
shopping_engines='ob ae ab eb ea'
declare -A search_categories
search_categories=(
['t']="$text_engines"
['v']="$video_engines"
['i']="$images_engines"
['r']="$research_engines"
['im']="$indie_media"
['c']="$chart_engines"
['cr']="$crypto_engines"
['o']="$coding_engines"
['nl']="$natural_law_engines"
['sh']="$shopping_engines"
)