Skip to content

Commit 984c156

Browse files
committed
fix(readme): Portable GUI readme
1 parent eb6e71d commit 984c156

File tree

1 file changed

+64
-164
lines changed

1 file changed

+64
-164
lines changed

README.md

Lines changed: 64 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -1,196 +1,96 @@
1-
# Bunkr Downloader
1+
# Bunkr Downloader Portable GUI
22

3-
> A Python Bunkr downloader that fetches images and videos from URLs. It supports both Bunkr albums and individual file URLs, logs issues, and enables concurrent downloads for efficiency.
3+
This project is a fork of the original [BunkrDownloader by Lysagxra](https://github.com/Lysagxra/BunkrDownloader). Huge thanks to her for creating and maintaining the powerful core of this application!
44

5-
![Screenshot](https://github.com/Lysagxra/BunkrDownloader/blob/3bc786d91f2950fbc1df120b7ebbb6ff90e4e6fd/misc/DemoV2.gif)
5+
This version focuses on providing an user-friendly **Graphical User Interface (GUI)** for Windows users and includes other features to make downloading as simple as possible.
66

7-
## Features
7+
### Screenshots
8+
*Screen application `BunkrDownloader-portable-GUI.exe` in single mode.*
89

9-
- Downloads multiple files from an album concurrently.
10-
- Supports [batch downloading](https://github.com/Lysagxra/BunkrDownloader?tab=readme-ov-file#batch-download) via a list of URLs.
11-
- Supports [selective files downloading](https://github.com/Lysagxra/BunkrDownloader/tree/main?tab=readme-ov-file#selective-download) based on filename criteria.
12-
- Supports [custom download location](https://github.com/Lysagxra/BunkrDownloader/tree/main?tab=readme-ov-file#file-download-location).
13-
- Provides [minimal UI](https://github.com/Lysagxra/BunkrDownloader/tree/main?tab=readme-ov-file#disable-ui-for-notebooks) for notebook environments.
14-
- Provides progress indication during downloads.
15-
- Automatically creates a directory structure for organized storage.
16-
- Logs URLs that encounter errors for troubleshooting.
17-
18-
## Dependencies
19-
20-
- Python 3
21-
- `BeautifulSoup` (bs4) - for HTML parsing
22-
- `requests` - for HTTP requests
23-
- `rich` - for progress display in the terminal
24-
25-
## Directory Structure
26-
27-
<details>
28-
29-
<summary>Expand Directory Structure</summary>
30-
31-
```
32-
project-root/
33-
├── helpers/
34-
│ ├── crawlers/
35-
│ │ └── crawler_utils.py # Utilities for extracting media download links
36-
│ ├── downloaders/
37-
│ │ ├── album_downloader.py # Manages the downloading of entire albums
38-
│ │ ├── download_utils.py # Utilities for managing the download process
39-
│ │ └── media_downloader.py # Manages the downloading of individual media files
40-
│ ├── managers/
41-
│ │ ├── live_manager.py # Manages a real-time live display
42-
│ │ ├── log_manager.py # Manages real-time log updates
43-
│ │ └── progress_manager.py # Manages progress bars
44-
│ ├── bunkr_utils.py # Utilities for checking Bunkr status
45-
│ ├── config.py # Manages constants and settings used across the project
46-
│ ├── file_utils.py # Utilities for managing file operations
47-
│ ├── general_utils.py # Miscellaneous utility functions
48-
│ └── url_utils.py # Utilities for Bunkr URLs
49-
├── downloader.py # Module for initiating downloads from specified Bunkr URLs
50-
├── main.py # Main script to run the downloader
51-
├── URLs.txt # Text file listing album URLs to be downloaded
52-
└── session_log.txt # Log file for recording session details
53-
```
54-
55-
</details>
56-
57-
## Installation
58-
59-
1. Clone the repository:
60-
61-
```bash
62-
git clone https://github.com/Lysagxra/BunkrDownloader.git
63-
```
64-
65-
2. Navigate to the project directory:
66-
67-
```bash
68-
cd BunkrDownloader
69-
```
70-
71-
3. Install the required dependencies:
72-
73-
```bash
74-
pip install -r requirements.txt
75-
```
76-
77-
## Single Download
78-
79-
To download a single media from an URL, you can use `downloader.py`, running the script with a valid album or media URL.
80-
81-
### Usage
82-
83-
```bash
84-
python3 downloader.py <bunkr_url>
85-
```
86-
87-
### Examples
88-
89-
You can either download an entire album or a specific file:
90-
91-
```
92-
python3 downloader.py https://bunkr.si/a/PUK068QE # Download album
93-
python3 downloader.py https://bunkr.fi/f/gBrv5f8tAGlGW # Download single media
94-
```
10+
![Bunkr Downloader GUI](screenshots/screenshot-single-mode.PNG)
9511

96-
## Selective Download
12+
*Screen of an completed request interface in single mode `BunkrDownloader-portable-GUI.exe`.*
9713

98-
The script supports selective file downloads from an album, allowing you to exclude files using the [Ignore List](https://github.com/Lysagxra/BunkrDownloader?tab=readme-ov-file#ignore-list) and include specific files with the [Include List](https://github.com/Lysagxra/BunkrDownloader?tab=readme-ov-file#include-list).
14+
![Download in progress](screenshots/screenshot-single-mode-active.PNG)
9915

100-
## Ignore List
16+
*Screen application `BunkrDownloader-portable-GUI.exe` in load from file mode.*
10117

102-
The Ignore List is specified using the `--ignore` argument in the command line. This allows you to skip the download of any file from an album if its filename contains at least one of the specified strings in the list. Item in the list should be separated by a space.
18+
![Download in progress](screenshots/screenshot-load-from-file.PNG)
10319

104-
### Usage
20+
*Screen of an completed request interface in load from file mode `BunkrDownloader-portable-GUI.exe`.*
10521

106-
```bash
107-
python3 downloader.py <bunkr_album_url> --ignore <ignore_list>
108-
```
109-
110-
### Example
111-
112-
This feature is particularly useful when you want to skip files with certain extensions, such as `.zip` files. For instance:
113-
114-
```bash
115-
python3 downloader.py https://bunkr.si/a/PUK068QE --ignore .zip
116-
```
22+
![Download in progress](screenshots/screenshot-load-from-file-active.PNG)
11723

118-
## Include List
24+
*Real-time download progress and logs.*
11925

120-
The Include List is specified using the `--include` argument in the command line. This allows you to download a file from an album only if its filename contains at least one of the specified strings in the list. Items in the list should be separated by a space.
26+
## ✨ Features
12127

122-
### Usage
28+
This fork includes all the powerful core features from the original, plus:
12329

124-
```bash
125-
python3 downloader.py <bunkr_album_url> --include <include_list>
126-
```
30+
* **Dual Download Modes:** Easily switch between downloading a single URL or batch downloading from a `.txt` file using a simple toggle.
31+
* **Graphical User Interface (GUI):** A simple and intuitive interface for downloading. No command line needed!
32+
* **Portable Windows Executable:** Download and run the application directly without needing to install Python or any dependencies.
33+
* **Easy URL Pasting:** A convenient "Paste" button to quickly insert a Bunkr URL from your clipboard.
34+
* **File Browser:** A "Browse" button to easily select your URL list file when in "From File" mode.
35+
* **Automatic Folder Opening:** Once your download is complete, the folder containing the files will automatically open.
36+
* **Build & Setup Scripts:** Comes with `.bat` scripts to easily set up the environment and build the executable from source.
12737

128-
### Example
38+
### Core Features
12939

130-
```bash
131-
python3 downloader.py https://bunkr.si/a/PUK068QE --include FullSizeRender
132-
```
133-
134-
## Batch Download
135-
136-
To batch download from multiple URLs, you can use the `main.py` script. This script reads URLs from a file named `URLs.txt` and downloads each one using the media downloader.
137-
138-
### Usage
139-
140-
1. Create a file named `URLs.txt` in the root of your project, listing each URL on a new line.
141-
142-
- Example of `URLs.txt`:
143-
144-
```
145-
https://bunkr.si/a/PUK068QE
146-
https://bunkr.fi/f/gBrv5f8tAGlGW
147-
https://bunkr.fi/a/kVYLh49Q
148-
```
40+
- Downloads multiple files from an album concurrently.
41+
- Supports batch downloading via a list of URLs.
42+
- Supports selective file downloading based on filename criteria.
43+
- Provides progress indication during downloads.
44+
- Automatically creates a directory structure for organized storage.
45+
- Logs URLs that encounter errors for troubleshooting.
14946

150-
- Ensure that each URL is on its own line without any extra spaces.
151-
- You can add as many URLs as you need, following the same format.
47+
## 💻 How to Use (Easy Way)
15248

153-
2. Run the batch download script:
49+
1. Go to the [**Releases**](https://github.com/ZeroHackz/BunkrDownloader-Portable/releases) page.
50+
2. Download the latest `BunkrDownloader-portable-GUI.exe` file.
51+
3. Run the application.
52+
4. **Choose your download mode:**
53+
* **For a single link:** Leave it on "Single URL", paste your Bunkr URL, and click **Download**.
54+
* **For multiple links:** Select "From File", click **Browse** to select your `.txt` file, and then click **Download**.
55+
5. That's it!
15456

155-
```
156-
python3 main.py
157-
```
57+
## 🛠️ For Developers (Building from Source)
15858

159-
## File Download Location
59+
If you want to build the application yourself:
16060

161-
If the `--custom-path <custom_path>` argument is used, the downloaded files will be saved in `<custom_path>/Downloads`. Otherwise, the files will be saved in a `Downloads` folder created within the script's directory
61+
1. Clone this repository:
62+
```bash
63+
git clone https://github.com/ZeroHackz/BunkrDownloader-Portable.git
64+
```
65+
2. Navigate to the project directory:
66+
```bash
67+
cd BunkrDownloader-Portable
68+
```
69+
3. Run the setup script. This will create a virtual environment and install the required dependencies.
70+
```bat
71+
setup_launcher.bat
72+
```
73+
4. To build the executable, run the build script:
74+
```bat
75+
build.bat
76+
```
77+
The `.exe` will be available in the `dist` folder.
16278

163-
### Usage
79+
## CLI Usage
16480

165-
```bash
166-
python3 main.py --custom-path <custom_path>
167-
```
81+
The original command-line interface is still available and fully functional.
16882

169-
### Example
83+
### Single Download
17084

17185
```bash
172-
python3 main.py --custom-path /path/to/external/drive
173-
```
174-
175-
## Disable UI for Notebooks
176-
177-
When the script is executed in a notebook environment (such as Jupyter), excessive output may lead to performance issues or crashes.
178-
179-
### Usage
180-
181-
You can run the script with the `--disable-ui` argument to disable the progress bar and minimize log messages.
182-
183-
To disable the UI, use the following command:
184-
185-
```
186-
python3 main.py --disable-ui
86+
python downloader.py <bunkr_url>
18787
```
18888

189-
To download a single file or album without the UI, you can use this command:
89+
### Selective & Batch Downloads
19090

191-
```bash
192-
python3 downloader.py <bunkr_url> --disable-ui
193-
```
91+
All the original flags like `--ignore`, `--include`, and batch downloading via `URLs.txt` are still supported.
92+
93+
For more details, please refer to the [Lysagxra README](https://github.com/Lysagxra/BunkrDownloader/blob/main/README.md).
19494

19595
## Logging
19696

0 commit comments

Comments
 (0)