YoutubeTags is a python third-party api wrapper to Extract Youtube Video Tags without Youtube API
Project description
YoutubeTags
YoutubeTags is a python third-party api wrapper to Extract Youtube Tags without Youtube API, Capable to extract Video and Channel Tags
New Updates in Version 1.4 Added Functions for videotitle,videodescription,channeldescription
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 (tags)
else:
print("No Tags 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
Sponsor this project
Credits : thepythoncode
This Project is based on small Snippet from thepythoncode.com as part of their Web Scrapping Modules. Do check their web site here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file YoutubeTags-1.4.tar.gz
.
File metadata
- Download URL: YoutubeTags-1.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1dcda11f3cac9f1d6c6aa6826fed525d37a58b0aa1c7012c0520177be5d74e |
|
MD5 | f3f4d66ec10d8d0ea07f85674f28b9e9 |
|
BLAKE2b-256 | b961293f30703e3d7a10afe995f5a801c30557fd6535b312ae6267f62668ad66 |
File details
Details for the file YoutubeTags-1.4-py3-none-any.whl
.
File metadata
- Download URL: YoutubeTags-1.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4baf64d50c800064b4d23e1d0df8d8dbe9ef765574ae29d1c14ab6b34b6a9db2 |
|
MD5 | cb5d9168c7877dc80cec88944cb2c0ef |
|
BLAKE2b-256 | 87087d244c3cb4b94e4dbc683e9f4ce3082f8fa7232c82ce0d7ed1c7766f3577 |