Skip to main content

Linguee translation parser

Project description

Linguee Parser

This is a parser for the Linguee dictionary. It is prohibited by the terms and conditions to use this script to forward their service to third parties. For more information see below.

This script parses the translation based on the html IDs and classes. Therefore, if Linguee decides to change the HTML this script is going to brake.

How to use the script?

  1. Download the script with pip or git
  2. Import it: from lingueeParser import linguee
  3. Create an instance of the object: parser = linguee.Linguee(("english", "german"))
  4. Search for terms: term = parser.search('spam')

Notes:

You can access all your searches with parser.get_dictionary()

Search gives only the term the same would be parser.get_dictionary()['spam']

Terms and Conditions

If you use the API, make sure you comply with Linguee Terms and Conditions, and in particular with that clause:

Both private and business usage of linguee.com services is free of charge. It is however strictly prohibited to forward on our services to third parties against payment

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lingueeParser-1.0.2.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file lingueeParser-1.0.2.tar.gz.

File metadata

  • Download URL: lingueeParser-1.0.2.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for lingueeParser-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6489de17110afb379732ed11d25f751997b0def1559d1829cc30b8d9014d1d7a
MD5 195f2ecd592620d23646170f7b6e741d
BLAKE2b-256 9e0eb165b5e905df1d4aad7eab4d3ed5052e18c788b445abcee0c0025d82938e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page