Skip to content

mezhgano/lj-dl-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LJ-DL-IMG

lj-dl-img is a parser for downloading image albums from Livejournal.com.
Download user albums in just few clicks.

INSTALLATION

Windows Unix All versions

File Description
lj-dl-img.exe For Windows
lj-dl-img For Linux/BSD

Windows

Download binary, add it to System Path and execute following in terminal:

lj-dl-img https://username.livejournal.com

You can read more about how to place anything to System Path on Windows here:

If you don't want to setting up System Path just call it directly:

.\path\to\downloads\folder\lj-dl-img.exe https://username.livejournal.com

Linux

Download binary, copy it to folder in System Path, mark the file as executable.
To do so execute following in terminal:

sudo mv lj-dl-img_linux /usr/local/bin/lj-dl-img
chmod u+x /usr/local/bin/lj-dl-img
lj-dl-img https://username.livejournal.com

macOS

For now only Windows and Linux binaries are avaliable, i don't have Mac to compile it.

You can clone this repository and run lj_dl_img.py
(This requires Python installed, i'm using 3.10.10):

git clone https://github.com/mezhgano/lj-dl-img.git
python -m pip install -r requirements.txt
python lj_dl_img.py https://username.livejournal.com

USAGE

lj-dl-img [-h] [-v] [-d] URL

Options:

-h, --help          Show this help message and exit.

-v, --version       Show script version and exit.

-d , --directory    Path where images should be downloaded.
                    Note that script will create a subfolder for each downloaded album.
                    Default: current working directory.

 URL                URL of Livejournal user or certain album to download. For example, specify:
                    https://username.livejournal.com - to download all avaliable albums.
                    https://username.livejournal.com/photo/album/1337 - to download just one certain album.

NOTES

  • For now only downloading public images available, all private images will be ignored.
    I'm planning to add a feature in future releases to use a cookies to download all images from your user, regardless of private settings.

TODO

  • Write additional README in Russian
  • Add option to pass cookies (for downloading private images)
  • Compile binary for macOS (i don't have mac, so any help apperticed)
  • Add option to download video albums

DONATION

If this parser saves your time and make life a little bit easier, consider donation:
https://yoomoney.ru/to/410011617547984