Skip to content

Commit

Permalink
Upgrade to 1.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hetari committed Apr 2, 2024
1 parent fa3d22f commit 438dd6e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 21 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Pyutube Changelog

## 1.1.8

- Fix: Cancel the download process.
- Modify: Documentation, and code style that made it easier to understand (using `pylint`).

## 1.1.7

- Added: Display the video size next to the resolution.
Expand Down Expand Up @@ -47,7 +52,7 @@

- Edit filename template

the new defult filename template is:
the new default filename template is:
`%name% - %resolution% _-_%video_id%.%ext%`

> Note: This is the only filename template in the moment, we consider to add more in the future. (but not now)
Expand Down
42 changes: 23 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This project was inspired by [Utube](https://github.com/omer73364/uTube/) by [om
## Features

- User-friendly CLI interface.
- Download a single YouTube in video format or audio.
- Download a single YouTube video format or audio.
- Download YouTube shorts.
- Download YouTube playlists.

Expand All @@ -28,9 +28,9 @@ This project was inspired by [Utube](https://github.com/omer73364/uTube/) by [om
- [x] Supports all available video resolutions.
- [x] Support shorts.
- [x] Supports downloading playlists.
- [ ] Playlists organized into folders by their names.
- [ ] Playlists are organized into folders by their names.
- [ ] GUI app (not yet).
- [ ] Any features that you/I can think of.
- [ ] Are there any features that you/I can think of?

## Upgrade

Expand All @@ -42,7 +42,7 @@ pip install --upgrade pyutube

## Installation

Make suer that you have [Python](https://www.python.org) installed. To check if you have it installed, type `python --version` in your terminal. You should see something like `Python 3.x.x`.
Make sure that you have [Python](https://www.python.org) installed. To check if you have it installed, type `python --version` in your terminal. You should see something like `Python 3. x `

### Method 1: Using Pip

Expand All @@ -51,7 +51,7 @@ pip install --upgrade pip
pip install pyutube
```

### Method 2: Building the project from source
### Method 2: Building the project from the source

Clone the repository:

Expand Down Expand Up @@ -129,7 +129,7 @@ pyutube -v
> Don't forget, the path is optional.
2. Then choose the format of the download, video or audio.
3. Choose the resolution if it is a video you want to download, otherwise choose audio and it will download it all immediately 🔥.
3. Choose the resolution if it is a video you want to download, otherwise, choose audio and it will download it all immediately 🔥.
> It will check all resolutions available in the first video in the playlist, then it will download all of them in the same resolution 👍.
### **- Download shorts, videos, or audio:**
Expand All @@ -139,15 +139,15 @@ pyutube -v
> Don't forget, the path is optional.
2. Then choose the format of the download, video or audio.
3. Choose the resolution if it is a video you want to download, otherwise choose audio and it will download it immediately 🔥.
3. Choose the resolution if it is a video you want to download, otherwise, choose audio and it will download it immediately 🔥.

```bash
pyutube cMPnY7EuZvo
pyutube youtu.be/cMPnY7EuZvo
pyutube https://youtube.com/watch?v=cMPnY7EuZvo
```

### **- Download audios immediately:**
### **- Download audio immediately:**

1. `pyutube <YOUTUBE_LINK | VIDEO_ID | SHORT_LINK> [the_download_path*] -a`

Expand Down Expand Up @@ -181,17 +181,21 @@ pyutube -f youtu.be/cMPnY7EuZvo
see the video and relax 🎉.

<div style="text-align: center;">
<img src="pyutube/images/image1.png" />
<br />
<br />
<img src="pyutube/images/image2.png" />
<br />
<br />
<img src="pyutube/images/image3.png" />
<br />
<br />
<img src="pyutube/images/image4.png" />

<a href="https://ibb.co/LhT6r3r">
<img src="https://i.ibb.co/WprF0L0/image5.png" alt="image5">
</a>
<a href="https://ibb.co/7ymCS79">
<img src="https://i.ibb.co/h8z9gpq/image4.png" alt="image4">
</a>
<a href="https://ibb.co/9sVDxbh">
<img src="https://i.ibb.co/pJR7HfQ/image3.png" alt="image3">
</a>
<a href="https://ibb.co/Kb6qjmg">
<img src="https://i.ibb.co/sbjwvt4/image2.png" alt="image2">
</a>
<a href="https://ibb.co/0JkdkQy">
<img src="https://i.ibb.co/7yH6Hbt/image1.png" alt="image1">
</a>
</div>

## Contributing
Expand Down
Binary file removed pyutube/images/image1.png
Binary file not shown.
Binary file removed pyutube/images/image2.png
Binary file not shown.
Binary file removed pyutube/images/image3.png
Binary file not shown.
Binary file removed pyutube/images/image4.png
Binary file not shown.
2 changes: 1 addition & 1 deletion pyutube/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from rich.theme import Theme


__version__ = "1.1.7"
__version__ = "1.1.8"
ABORTED_PREFIX = "aborted"
CANCEL_PREFIX = "cancel"

Expand Down

0 comments on commit 438dd6e

Please sign in to comment.