Skip to main content

YouTubeEased:

A YouTube API based library which will make your coding faster and better. DISCLAIMER! This library is vary basic and not very stabled, therefore you might get some errors.

Install:

pip install YouTubeEased

Library Needed:

youtube_dl

How To Call The Library??

# This way you call the __init__ function of the library!
from YouTubeEased import YouTubeEased

Great What Now?

Now we need to actually call the function by typing:

from YouTubeEased import YouTubeEased

# Here you type the URL!
youtube = YouTubeEased("URL")

If you don't want to use the regular way, you can also call the function from the utils.

# All the functions can be taken by this way too!
from YouTubeEased.utils import *

Why You should try using the other way?

  • Have more control of what you want to use
  • You will be able to use any URL even if the URL is not been supported (The normal way is checking the url)!

Examples

from YouTubeEased import YouTubeEased
from YouTubeEased.utils import URLNotSupported


def download(url) -> None:
    # except URL errors
    try:
        youtube = YouTubeEased(url)
        print("URL Valid")
    except URLNotSupported:
        print("URL not supported!")
    # -----------------------------------#
    #                OR:                #
    # -----------------------------------#
    if YouTubeEased(url).is_good_url():
        print("URL Valid")
    else:
        print("URL not supported!")


user = input("Type URL: ")
download(user)
from YouTubeEased import YouTubeEased

user_url = input("Type URL: ")
user_fname = input("Type file name: ")
user_type_download = input("1. Video" 
                           "2. Audio"
                           "Type Here: ")

youtube = YouTubeEased(user_url)
youtube.rename(user_fname)

if user_type_download == '1':
    youtube.download_video()
elif user_type_download == '2':
    youtube.download_audio()
else:
    print("Wrong input.")

More Information:

This library was made for educational reasons and to make new coders feel more comfortable around new libraries.

Release files for YouTubeEased 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for YouTubeEased 1.0.4
File Size Uploaded
YouTubeEased-1.0.4.tar.gz 2.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for YouTubeEased 1.0.4
File Interpreter ABI Platform
YouTubeEased-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 MB

Release files / YouTubeEased-1.0.4.tar.gz

Download URL YouTubeEased-1.0.4.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
058f60d46c04dc984ad18eb91357051629f59d894ee16f3eb8c82c4775419d9f
BLAKE2b-256 checksum
How to use checksums
fc229bf0cbea803a1c0a9760a4ea3a342ab6af8cfe9a861c26731dc90715ca34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release files / YouTubeEased-1.0.4-py3-none-any.whl

Download URL YouTubeEased-1.0.4-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
42d77f0d2b5588663359cc68a1fe87974bda6c3ad90b443ad452bb4b105a5378
BLAKE2b-256 checksum
How to use checksums
f87ac8b3e82d5685bc879c7bfe2759191af6b59324cb4c66997a79f4e1d623b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page