Skip to content

bennett-sh/fahren-lernen-dumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fahren Lernen Dumper

Fahren Lernen Dumper is a command-line tool that downloads all available questions, translations, and media from the Fahren Lernen mobile app API. These questions are used in Germany’s current theoretical driving license test.

Prerequisites

  • Bun must be installed.
  • A valid Fahren Lernen account.

Installation

Clone the repository and install dependencies:

git clone https://git.bsh.im/fahren-lernen-dumper.git
cd fahren-lernen-dumper
bun install

Usage

Run the tool using Bun:

bun . -- --email <your-email> --password <your-password> [--quality <high/low/both>] [--directory <./dump>] [--media-types <image/video/both>]

Options

  • --email: Your Fahren Lernen account email.
  • --password: Your Fahren Lernen account password.
  • --quality: Filter media by quality (high, low, or both; default is both).
  • --media-types: Filter media by type (image, video, or both; default is both).
  • --directory: The output directory (default is ./dump).

Output

After execution, the specified directory will include:

  • questions.json: Contains the general question structure.
  • questionTexts-[lang].json: Contains texts for each question (generated for all available languages).
  • media/: A folder with high/ and low/ subdirectories containing the downloaded media.

License

MIT License

About

A CLI tool that dumps questions, translations, and media from the original German driving license test

Topics

Resources

License

Stars

Watchers

Forks