Traductor de webs desde consola usando el servicio de Google Traductor.

Related tags

MiscellaneousproxiGG
Overview

proxiGG

Traductor de webs desde consola usando el servicio de Google Traductor.

Se adjunta el código fuente para Python3 y un binario compilado en C para quien quiera usarlo directamente como ejecutable.

El funcionamiento es sencillo, tan solo hay que ejecutar el archivo...

Para ejecutar el script en Python: ./proxiGG.py
Para ejecutar el binario compilado en C: ./proxiGG.bin

Recordar que al descargar el archivo es probable que deban añadírsele permisos de ejecución, esto puede hacerse con el siguiente comando:

chmod +x nombre_archivo

Una vez ejecutado, el programa pedirá al usuario la dirección que quiera traducir, el idioma de origen de la web y el idioma de destino. Una vez introducidos los datos solicitados por el programa, se abrirá el navegador web con la web traducida al idioma elegido.

Los idiomas se introducen con los códigos usados por Google en su servicio de traducción web:

'af','sq','de','am','ar','hy','az','bn','be', 'my','bs','bg','km','kn','ca','ce','cs','ny', 'zh-CN','si','ko','co','ht','hr','da','sk','sl', 'es','eo','et','eu','fi','fr','fy','gd','gl', 'ka','el','gu','ha','haw','iw','hi','hmn','hu', 'ig','id','en','ga','is','it','ja','jw','kk', 'rw','ky','ku','lo','la','lv','lt','lb','mk','ml', 'ms','mg','mt','mi','mr','mn','nl','no','or','pa', 'ps','fa','pl','pt','ro','ru','sm','sr','st','sn', 'sd','so','sw','sv','su','tl','th','ta','tt','tg', 'te','tr','tk','uk','ug','ur','uz','vi','xh','yi', 'yo','zu'

Cuando el programa solicita el código de idioma, puede introducir la palabra 'lista' como ayuda para ver un listado con todos los idiomas disponibles y sus correspondientes códigos ordenados alfabéticamente.

También puede usarse sin interacción del usuario llamándolo desde la línea de comandos con los parámetros "dirección web", "idioma origen" e "idioma destino" directamente.

./proxiGG.py direccion_web idioma_origen idioma_destino

Ejemplo de uso con parámetros:

./proxiGG.py https://www.dominio.com/loquesea/pagina es en

En este ejemplo se ve claramente que el primer parámetro es la web a traducir (https://www.dominio.com/loquesea/pagina), el segundo parámetro es el idioma de origen (es) y el tercer parámetro es el idioma de destino (en).

Una funcionalidad adicional es que puede usarse como proxy, ya que la navegación se realiza a través del servidor de traducción de Google.

Owner
@as_informatico
@as_informatico
Statistics Calculator module for all types of Stats calculations.

Statistics-Calculator This Calculator user the formulas and methods to find the statistical values listed. Statistics Calculator module for all types

2 May 29, 2022
Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python

Scalene: a high-performance CPU, GPU and memory profiler for Python by Emery Berger, Sam Stern, and Juan Altmayer Pizzorno. Scalene community Slack Ab

PLASMA @ UMass 7k Dec 30, 2022
A program to generate random numbers b/w 0 to 10 using time

random-num-using-time A program to generate random numbers b/w 0 to 10 using time it uses python's in-built module datetime and an equation which retu

Atul Kushwaha 1 Oct 01, 2022
This is the community maintained fork of ungleich's cdist (after f061fb1).

cdist This is the community maintained fork of ungleich's cdist (after f061fb1). Work is split between three repositories: cdist - implementation of t

cdist community edition 0 Aug 02, 2022
CEI Natural Disaster Tracking Portal

CEI Natural Disaster Tracking Portal (cc) Climatic Eye of ISCI We are an initiative that conducts studies in the field of Space Science, publishes pro

Baris Dincer 7 Dec 24, 2022
Password manager using MySQL and Python 3.10.2

Password Manager Password manager using MySQL and Python 3.10.2 Installation Install my-project with github git clone https://github.com/AyaanSiddiq

1 Feb 18, 2022
Automated Content Feed Curator

Gathers posts from content feeds, filters, formats, delivers to you.

Alper S. Soylu 2 Jan 22, 2022
sumCulator Это калькулятор, который умеет складывать 2 числа.

sumCulator Это калькулятор, который умеет складывать 2 числа. Но есть условия: Эти 2 числа не могут быть отрицательными (всё-таки это вычитание, а не

0 Jul 12, 2022
A faster Python generator that get function results from multi-process workers

multiyield This package implements a Python generator that get function results from multi-process workers. The faster_fifo Queue (instead of the stan

Xin Du 1 Nov 18, 2021
Basic cryptography done in Python for study purposes

criptografia Criptografia básica feita em Python para fins de estudo Converte letras em numeros partindo do indice 0 e vice-versa A criptografia é fei

Carlos Eduardo 2 Dec 05, 2021
Tool to audit and fix Python project requirements.

Requirement Auditor Utility to revise and updated python requirement files.

Luis Carlos Berrocal 1 Nov 07, 2021
Stocks Trading News Alert Using Python

Stocks-Trading-News-Alert-Using-Python Ever Thought of Buying Shares of your Dream Company, When their stock price got down? But It is not possible to

Ayush Verma 3 Jul 29, 2022
A tool for study using pomodoro methodology, while study mode spotify or any other .exe app is opened and while resting is closed.

Pomodoro-Timer-With-Spotify-Connection A tool for study using pomodoro methodology, while study mode spotify or any other .exe app is opened and while

2 Oct 23, 2022
This code extracts line width of phonons from specular energy density (SED) calculated with LAMMPS.

This code extracts line width of phonons from specular energy density (SED) calculated with LAMMPS.

Masato Ohnishi 3 Jun 15, 2022
A repository of study materials related to Think Python 2nd Edition by Allen B. Downey. More information about the book can be found here: https://greenteapress.com/wp/think-python-2e/

Intro-To-Python This content is based on the book Think Python 2nd Edition by Allen B. Downey. More information about the book can be found here: http

Brent Eskridge 63 Jan 07, 2023
msgqywx 使用企业微信的应用消息推送实时信息

msgqywx 使用企业微信的应用消息推送实时信息

Demon Finch 8 Dec 18, 2022
Semester Project on Signal Processing @CS UCU 2021

Blur Detection with Haar Wavelet Transform Requirements Python3 opencv-python PyWavelets Install these using the following command: $ pip install -r r

ButynetsD 2 Oct 15, 2022
Used the pyautogui library to automate some processes on the computer

Pyautogui Utilizei a biblioteca pyautogui para automatizar alguns processos no c

Dheovani Xavier 1 Dec 30, 2021
Tracking stock volatility.

SP500-highlow-tracking Track stock volatility. Being a useful indicator of the stock price volatility, High-Low gap represents the price range of the

Thong Huynh 13 Sep 07, 2022
Bitflip Fault Simulation Platform by Daniele Rizzieri (2021)

SEE Injection Framework 2021 This repository contains two Single Event Effect (SEE) injection platforms. The first one is called BFSP - "Bitflip Fault

Daniele Rizzieri 2 Nov 05, 2022