Scraping the Russian-Kazakh translation website. Requires your terminal to work with UTF-8 symbols
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567
  1. #! /bin/bash
  2. agent="Mozilla/5.0 (Windows NT 10.0; x86_64; rv:67.0) Gecko/20100101 Firefox/67.0"
  3. while true
  4. do
  5. read -p "Translate what word: " word
  6. python3 GOOGLE.pyw -i "$(echo "https://sozdik.kz/ru/dictionary/translate/ru/kk/"$word"/")" | html2text
  7. done