Skip to content

A scraper that scrapes deepl.com to translate any language to any language all in the terminal.

Notifications You must be signed in to change notification settings

RushanKhan1/deepl-translate-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deepl-translate-scraper

A command line tool written in python that scrapes deepl.com and gives you the translation of the entered sentence into the entered language.

This was sort of an experiment but I ended up with a tool that works quite well. Currently it is a little slow since its scraping the website everytime. A better and faster command line utility is in the works.

Setting up

  1. Clone the repository and then navigate to it.
  2. Make sure you have python3 and pip installed, check using: python3 --version then pip --version
  3. Install pipenv using: pip install pipenv
  4. Install the dependencies using pipenv install
  5. Make the script executable using chmod +x path/to/scrapingDeepL2.py

You are good to go!

Usage

Bash syntax for running this script:
./scrapingDeepL2.py language_code The sentence to be translated

Note: Make sure the language code is the ISO-639-1 code.

Supported Languages


Language ISO-639-1 code
English en
German de
French fr
Spanish es
Portugese pt
Italian it
Dutch nl
Russian ru
Polish pl
Chinese zh
Japanese ja

About

A scraper that scrapes deepl.com to translate any language to any language all in the terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages