Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

A little script that uses selenium to translate text by feeding it to the deepl website.

Notifications You must be signed in to change notification settings

ksilarbi/selenium-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-translator

A little python 3 script that uses selenium to translate text by feeding it to the deepl website.

Set up

.
├── README.md
├── requirements.txt
├── selenium_translate.py
├── texts_folder/
└── webdrivers/
  • You first need to install a chrome webdriver in the './webdrivers' folder. You can download here the chrome webdriver.
  • For more information you can check this link

Install

pip install -r requirements.txt

Usage

Add the text files you want to translate in './texts_folder'

exemple: translate to english all the text files in './texts_folder':

python selenium_translate.py --target english 

for more info on the params:

python selenium_translate.py --help

About

A little script that uses selenium to translate text by feeding it to the deepl website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages