https://github.com/floscha/lingvist-word-scraper
Automatically retrieves all learned words from an Lingvist account.
https://github.com/floscha/lingvist-word-scraper
Last synced: about 1 month ago
JSON representation
Automatically retrieves all learned words from an Lingvist account.
- Host: GitHub
- URL: https://github.com/floscha/lingvist-word-scraper
- Owner: floscha
- License: mit
- Created: 2017-11-30T18:40:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T18:32:52.000Z (about 5 years ago)
- Last Synced: 2025-02-22T06:24:56.823Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lingvist Word Scraper
[](https://www.codacy.com/app/floscha/lingvist-word-scraper?utm_source=github.com&utm_medium=referral&utm_content=floscha/lingvist-word-scraper&utm_campaign=Badge_Grade)
Extracts and saves all words a user has learned on Lingvist, including the following additional information:
- The word's translation
- When it was last practiced
- How many times it was practiced in total
- Whether or not the user was correct when he/she last practiced the word
## Disclaimer
This code is mainly for learning purposes to illustrate how data can be scraped from a dynamic web application that requires a user to log in.
Please be aware that according to section (3) of the [Lingvist Terms of Service](https://lingvist.com/tos/), scraping data from their service is not allowed and using this script will happen at your own responsibility!
## Usage
1. Make sure Python (including pip) is installed.
2. Install [Selenium](http://selenium-python.readthedocs.io/) if it is not already installed:
```
$ pip install selenium
```
3. Download the [geckodriver](https://github.com/mozilla/geckodriver) executable (e.g. from [here](https://github.com/mozilla/geckodriver/releases)) and place it in the project folder.
4. Run the script from the project folder using:
```
$ python lingvist_word_scraper.py
```
and enter your email address as well as the password for your account.
Alternatively, you can also pass just your email address or both email and password as command line arguments to the script.
The program will then run to retrieve your words.
5. When the program is finished, you can find all your learned words in the _vocabulary.json_ file.