DYA ( Ditch YouTube API ) is a package created to power the user with YouTube Data API functionality without any API Key

Overview

Ditch YouTubeAPI (BETA)

DYA ( Ditch YouTube API ) is a package created to power the user with YouTube Data API functionality without any API Key

  • Detailed Documents

  • Got questions? Having issues? Join Discord

  • How to use?

  • Installation:

    • pip install dya
  • Importing DYA:

    • from DYA import *
  • Create an instance of target YouTube Channel:

    • channel = Channel("Channel ID/ Custom ID/ URL/ CustomURL")

    • Attributes:

      • live

        Returns True if channel is Live at that moment, Otherwise returns False

      • stream_link

        Returns URL of Livestream if channel is Live at that moment, otherwise returns None

      • latest_uploads(*limit:int [optional])

        Returns List of latest uploaded videos as Video Object if channel is not live at that moment, otherwise returns None

      • info

        Returns a Dict of the About of the YouTube Channel. Dict contains channel Name, Subscribers, Description, Total Views, Joining Date, Country, Custom URL, Channel Avatar URL, Channel Banner URL

      • playlists

        Returns a list of Playlist Objects of the channel's public playlists

      • Or, you can use independent attributes to get channel info:

        • name Returns Name of the channel or None
        • id Returns ID of the channel or None
        • subs Returns Sub-count of the channel or None
        • total_views Returns total number of Views of the channel or None
        • joined Returns channel creation date or None
        • country Returns the generic country of the channel or None
        • custom_url Returns the Custom URL of the channel or None
        • description Returns the Description of the channel or None
        • avatar_url Returns the Avatar URL of the channel or None
        • banner_url Returns the Banner URL of the channel or None
  • Create an instance of YouTube Search:

    • query = Search()

    • Get Videos by YouTube Search:

      • Result = query.video(*keywords: str)

        Returns a Video Object according to queries.

      • Results = query.videos(*keywords: str, *limit:int [optional])

        Returns a list of Video Objects according to queries.

    • Get Channels by YouTube Search:

      • Result = query.channel(*keywords: str)

        Returns a Channel Object according to queries.

      • Results = query.channels(*keywords: str, *limit:int [optional])

        Returns a list of Channel Objects according to queries.

    • Get Playlists by YouTube Search:

      • Result = query.playlist(*keywords: str)

        Returns a Playlist Object according to queries.

      • Result = query.playlists(*keywords: str, *limit:int [optional])

        Returns a list of Playlist Objects according to queries.

  • Create an instance of Video Data:

    • vid = Video("Video ID")

    • Attributes:

      • info

      Returns a Dict of video information { title, views, likes, dislikes, parent, duration, upload_date, thumbnail, tags } etc.

    • Or, you can use independent attributes to get each info individually:

      • title Returns title of the video
      • views Returns view count of the video
      • likes Returns total likes on the video
      • dislikes Returns total dislikes on the video
      • parent Returns channel id from which the video belong
      • duration Returns duration of the video
      • uploaded Returns date of upload of the video
      • url Returns url of the video
      • thumbnail Returns HQ Thumbnail of the video
      • tags Returns list of tags of the video
  • Create an instance of Playlist Data:

    • playlist = Playlist("playlist_id")

    • Attributes:

      • info

        Returns a dict of info of the playlist containing playlist's name, video count, video ids, thumbnail URL, playlist URL

      • Or, you can use independent attributes to get each info individually:

        • name Returns the name of the playlist or None
        • url Returns the URL of the playlist or None
        • videos Returns the list of Video Objects of the videos in playlist or None
        • video_count Returns the video count of the playlist or None
        • thumbnail Returns the Thumbnail of the playlist or None
  • Create an instance of YouTube Extras:

    • extras = Extras()

    • Attributes:

      • Trending Returns #1 Trending Video Object
      • Music Returns fresh trending list of Music Video Objects [ Video Object ]
      • Gaming Returns fresh trending list of Gaming Video Objects [ Video Object ]
      • News Returns fresh trending list of News Video Objects [ Video Object ]
      • Live Returns fresh trending list of Live Video Objects [ Video Object ]
      • Learning Returns fresh trending list of Educational Video Objects [ Video Object ]
      • Sports Returns fresh trending list of Sports Video Objects [ Video Object ]
You might also like...
Tkinter based YouTube video downloader works on pytube 11.0.2. Can download YouTube videos in 720p(HD), 144p and even only audio.

YouTube-Downloader Tkinter based YouTube video downloader works on pytube 11.0.2. Can download YouTube videos in 720p(HD), 144p and even only audio. G

YouTube-Video-Downloader - Download Youtube Videos for free.

YouTube-Video-Downloader Download Youtube Videos for free. Installing Dependencies:- Windows pip install pytube Mac/Linux pip3 install pytube Clonin

Youtube_dl_helper - A hacky python script meant to automate the process of downloading mp3 files from YouTube using youtube-dl library

youtube_dl_helper A helper program meant to automate the process of downloading mp3 files from YouTube using youtube-dl library Dependencies In order

Youtube-music - Youtube music with python

youtube-music fzf on https://github.com/junegunn/fzf python3 ytb.py [no/yes] yes

PyQt5 simple files , youtube videos and youtube playlist downloader

PyQt5 simple files , youtube videos and youtube playlist downloader

YouTube Video publisher using youtube-dl & ROS2🐢
YouTube Video publisher using youtube-dl & ROS2🐢

YouTube-publisher-ROS2 Publish sensor_msgs/Image by "YouTube" 🤗 🤗 🤗 ! You don't have to use webcamera or your video to check demos. Purpose Quick d

YouTube-Downloader - YouTube Video Downloader made using python
YouTube-Downloader - YouTube Video Downloader made using python

YouTube-Downloader YouTube Videos Downloder made using python.

Youtube list to mp3 - Youtube list to mp3 downloader

Youtube list to mp3 downloader Tiny script to convert a list of youtube videos t

Python-Youtube-Downloader - An Open Source Python Youtube Downloader
Python-Youtube-Downloader - An Open Source Python Youtube Downloader

Python-Youtube-Downloader Hello There This Is An Open Source Python Youtube Down

YouTube Downloader is extremely simple program for downloading songs or playlists (in audio or video) from YouTube. Created using Python, PyTube and PySimpleGUI.

YouTube Downloader YouTube Downloader is extremely simple program for downloading songs or playlists (in audio or video) from YouTube. Disclaimer It's

Simeon Tsvetanov 3 Dec 14, 2022
Using Youtube downloader is the fast and easy way to download and save any YouTube video.

Youtube video downloader using Django Using Django as a backend along with pytube module to create Youtbue Video Downloader. https://yt-videos-downloa

Suman Raj Khanal 10 Jun 18, 2022
Youtube Downloader is a Graphic User Interface(GUI) that lets users download a Youtube Video or Audio through a URL

Youtube Downloader This Python and Tkinter based GUI allows users to directly download the Best Resolution Videos and Audios from Youtube. Pa-fy Insta

Samarth Kumar 2 Jun 25, 2022
A Telegram bot to download TikTok videos without any watermark.

TikTok Downloader Bot A Telegram bot to download TikTok videos without any watermark. Host on Heroku Youtube: Deployment Tutorial Demo: JayBee TikTok

Joy Biswas 184 Jan 4, 2023
This is a python based web scraping bot for windows to download all ACCEPTED submissions of any user on Codeforces

CODEFORCES DOWNLOADER This is a python based web scraping bot for windows to download all ACCEPTED submissions of any user on Codeforces Requirements

Mohak 6 Dec 29, 2022
Download any video from YouTube playlists

youtube-dl Download any videos from YouTube playlists. Requirements Python 3 BeautifulSoup4 PyQt PyQtWebEngine pytube pyyoutube python-decouple Usage

Antonio Fortin 1 Oct 26, 2021
YoutubeDownloader - Download any public Playlist from Youtube

YoutubeDownloader Download any public Youtube Channel / Playlist Features Bulk d

null 17 Nov 12, 2022
A simple Python program which uses youtube-dl for downloading YouTube videos as mp3 files.

yt-mp3 converter This is a simple Python program which uses youtube-dl for downloading YouTube videos as mp3 files. This program is for you if you are

nostalgicnerdpenguin 1 Oct 24, 2021
Youtube Downloader by PyTube é uma ferramenta simples com interface gráfica e escrito em python para baixar vídeos e playlists do youtube...

YouTube Downloader by PyTube O que é o YouTube Downloader by PyTube? YouTube Downloader by PyTube é um software simples para baixar vídeos no YouTube

Elizeu Barbosa Abreu 5 Jul 30, 2022