Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

markpasc/ljout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ljout

ljout is a command line tool for exporting a LiveJournal to local files.

Installation

Install its dependencies from the requirements.txt file:

$ pip install -r requirements.txt

Then you can install it as any other Python program:

$ python setup.py install

If you don't want to install its dependencies system-wide, try installing it in a virtual environment.

Configuring

The script uses your LiveJournal username and password to export your data. Run the configure command and enter the username you want to use:

$ ljout configure
Username: markpasc
Password:
Configured!

After saving your password, the export commands will be available. Note that your password is saved in the ~/.ljout file – only you will be able to read that file, but take care with it!

Usage

See ljout --help for supported commands.

$ ljout -v events backup/
INFO: Set log level to INFO

$ ls backup/
events/              events_lastsync.txt

$ ls backup/events/ | head -10
1.json
10.json
100.json
101.json
102.json
103.json
104.json
105.json
106.json
107.json

$ ljout -v comments backup/
INFO: Set log level to INFO

$ ls backup/
comments/            events/              events_lastsync.txt  usermap.json

$

About

export a LiveJournal to disk from the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages