YoutubeTags

YoutubeTags is a python third-party api wrapper to Extract Youtube Tags without Youtube API, Capable to extract Video and Channel Tags

Downloads CodeQL Supported Versions GitHub PyPI Documentation Status PyPI - Downloads Upload to PIP PyPI - Format

Installation

pip install YoutubeTags

Video Tags

How to Use It

import YoutubeTags
from YoutubeTags import videotags
link = "Add Your Youtube Link Here" # Use https / http Links
variable_name = videotags(link)
print(variable_name)

NOTE: ONLY SUPPORTS HTTP(S) , use HTTP(S) links to get the results

Example 1

import YoutubeTags
from YoutubeTags import videotags
findtags = videotags("https://www.youtube.com/watch?v=RTbrXiIzUt4") # Mkbhd's Video
print(findtags)

Output of Example 1

Right To Repair, right to repair, MKBHD, right to repair movement, Apple, Apple vs,
repairing iPhone, iPhone 12, Tesla right to repair, Apple right to repair

Example 2

import YoutubeTags
from YoutubeTags import videotags
tags = videotags("https://www.youtube.com/watch?v=Kbe3FKeCd1A") # Karikku star Episode
print(tags)

Output of Example 2

karikku, malayalam, funny, comedy, webseries, lolan,
george, karikk, karikke, film, trending, sketch, vine, flowerstv

Example 3

import YoutubeTags
from YoutubeTags import videotags
gettag = videotags("https://www.youtube.com/watch?v=nvjILgpf6tc") # Video From Technical Guruji
print(gettag)

Output of Example 3

iPhone 14, iPhone 14 Unboxing, iPhone 14 exclusive 1st look, iPhone 14 first look,
iPhone 14 no notch, iPhone 14 punch hole camera, iPhone 14 titanium sides, iPhone 14 look,
iPhone 14 leaks, iPhone 14 design, iPhone 14 india, iPhone 14 launch date, iPhone 14 no camera bump,
iPhone 14 features, iPhone 14 price, iPhone 14 vs iPhone 13, iPhone 14 launch event, iPhone 14 india 1st look,
iPhone 14 first look in hindi, Technical Guruji, Technicalguruji, Gaurav Chaudhary, 13

Example 4 (If Video Has no tags)

import YoutubeTags
from YoutubeTags import videotags
tag = videotags("https://www.youtube.com/watch?v=Mlk888FiI8A") # Google Keynote video 2021
if tag:
   print (tag)
else:
   print("No Tag Found ")

Output of Example 4

No Tags Found

Channel Tags

How to Use It

import YoutubeTags
from YoutubeTags import channeltags
link = "Add Your Channel Link Here" # Use https / http Links
variable_name = channeltags(link)
print(variable_name)

NOTE: ONLY SUPPORTS HTTP(S) , use HTTP(S) links to get the results

Example 1

import YoutubeTags
from YoutubeTags import channeltags
findtags = channeltags("https://youtube.com/c/mkbhd") # Mkbhd's channel Link
print(findtags)

Output of Example 1

MKBHD, MarquesBrownlee, Marques, Brownlee

Example 2

import YoutubeTags
from YoutubeTags import channeltags
tags = channeltags("https://youtube.com/c/Karikku_Fresh") # Karikku channel Link
print(tags)

Output of Example 2

karikku, media, digital, malayalam

Example 3

import YoutubeTags
from YoutubeTags import channeltags
gettag = channeltags("https://youtube.com/c/TechnicalGuruji") # Technical Guruji channel Link
print(gettag)

Output of Example 3

Hindi Technology, Technology in Hindi, Hindi Tech Guru, Technical Guruji, Hindi Tech Tips, Tech Reviews, Mobile Tips and Tricks, Technology Explained,
Hindi Tech, Hindi Tech Reviews, Tech Hindi, hindi, Technology, Mobile, tech, Reviews, TechnicalGuruji, Gaurav Chaudhary, Smartphones, Mobile Phones,
Tech, latest Tech,Cool Technology, Tech News, Latest Tech News

Example 4

import YoutubeTags
from YoutubeTags import channeltags
tag = channeltags("https://youtube.com/user/PewDiePie") # PewDiePie channel Link
print(tag)

Output of Example 4

pewdiepie, pewds, gaming, felix arvid ulf, felix, kjellberg

License

© 2021 Nuhman Pk , LICENSED under MIT License

Github

Follow me on Github and if you find this library useful don’t forget to add Your star