Scraping the Russian-Kazakh translation website. Requires your terminal to work with UTF-8 symbols
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
402 B

  1. echo "Your distro? ( 1)Arch, 2)Debian): "
  2. read distro
  3. if [ $distro -eq 1 ]
  4. then
  5. sudo pacman -S python3 python-pip html2text
  6. pip install bs4
  7. chmod +x ./sozdik.sh
  8. elif [ $distro -eq 2 ]
  9. then
  10. sudo apt install python3 python3-pip html2text
  11. pip3 install bs4
  12. chmod +x ./sozdik.sh
  13. else
  14. echo "You typed in: $distro"
  15. echo "Wrong input, please type one of the two: (1/2)";
  16. fi