An open API service indexing awesome lists of open source software.

https://github.com/leoho0722/naver-blog-image-downloader

Naver Blog Images Downloader (for funny!!!)
https://github.com/leoho0722/naver-blog-image-downloader

ai-coding cursor naver-blog python selenium vibe-coding

Last synced: 2 months ago
JSON representation

Naver Blog Images Downloader (for funny!!!)

Awesome Lists containing this project

README

          

# Naver Blog Image Downloader

## Prerequisites

* Python 3.10 or above
* Google Chrome (**currently supported**)

## Environments

### Create Python Virtual Environment

* macOS/Linux

```bash
python3.10 -m venv .venv
```

* Windows

```bash
python -m venv .venv
```

### Activate Python Virtual Environment

* macOS/Linux

```bash
source .venv/bin/activate
```

* Windows

```bash
.venv\Scripts\activate
```

### Install Python Dependencies

* macOS/Linux/Windows

```bash
pip install -r requirements.txt
```

## How to use

### Arguments

| Args name | Type | Default | Description |
|--------------|--------|----------|------------------------------|
| `--url` | `str` | `None` | Naver Blog URL |
| `--output` | `str` | `images` | Image output directory |
| `--headless` | `bool` | `True` | Whether to use headless mode |

### Example

#### Normal mode (will open a browser window)

```bash
python naver_blog_image_downloader.py \
--url https://blog.naver.com/edament/223882152167 \
--output images
```

#### Headless mode (will not open a browser window)

```bash
python naver_blog_image_downloader.py \
--url https://blog.naver.com/edament/223882152167 \
--output images \
--headless
```

## Current Limitations

* Uses Selenium as the only method for downloading images
* Only uses a single thread for downloading images

## Current Issues

* Sometimes the downloaded images may have incorrect ordering