Skip to content

A Python-Selenium Script to translate text from a textfile by web-scraping using Naver Papago

Notifications You must be signed in to change notification settings

seadesert/Py_SeleniumPapago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Selenium_Papago

A Python-Selenium Script to translate text from a textfile by web-scraping using Naver Papago without using the Naver API

Prerequisites

Requires ChromeDriver and Selenium Package.

Usage

  • Assign source_language and target_language from values of Keys in the Dictionary
  • Assign the filepath of Chrome Driver to chromedriver_filepath
  • Assign the filepath of Source textfile to source_filepath
  • Assign the Directory for Output textfile to output_dir
  • Execute the script

language_code Dictionary

Keys Language Code
Detect Language auto
Korean ko
English en
Japanese ja
Chinese Simplified zh-CN
Chinese Traditional zh-TW
Spanish es
French fr
German de
Russian ru
Portuguese pt
Italian it
Vietnamese vi
Thai th
Indonesian id
Hindi hi

About

A Python-Selenium Script to translate text from a textfile by web-scraping using Naver Papago

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages