semvec/pypi-packages huggingface dataset:
youtube-md 0.1a1
A Python Package which Quickly gather all the metadata about a YouTube video.
Requires Python: >=3.6
Keywords: youtube md,python youtube,youtube pypi,sijey-praveen pypi,youtube meta data,sijey,sijey-praveen,sijey praveen projects,youtube-md api

<a href="https://pypi.org/project/youtube-md/0.1a1/"><img src="https://pypi.org/static/images/logo-small.6eef541e.svg" width="50px" align="right"></a>

# YouTube-md

[![Build](https://img.shields.io/badge/Build-Passing-red?style=for-the-badge&logo=appveyor)]()
[![Language](https://img.shields.io/badge/Written%20Language-Python-9cf?style=for-the-badge)](https://python.org/about/)
[![License](https://img.shields.io/badge/License-MPL-green?style=for-the-badge)](https://raw.githubusercontent.com/sijey-praveen/PaperPro/Sijey/LICENSE)
[![Contact](https://img.shields.io/badge/Contact-EMail-blue?style=for-the-badge)](mailto:cjpraveen@hotmail.com)

<hr>

## Installation

```pip install youtube-md==0.1a1```

This library can be installed by the pip command, open your terminal and type in the following command...

## Tutorial

- import this module using **import** method

```py
from youtube_md import youtube_md
```

- Create a variable and store the **YouTube Video URL**

```py
url = "https://www.youtube.com/watch?v=6hDjWJtoQEc"
```

- Use **youtube_md()** function with valid url to get meta data about the video & use **.json()** to get the output in json format.

```py
src = youtube_md(url).json()
```

- Now use **print()** function to print the output
```py
print(src)
```

## Output of this program.

```
{
    'title': 'Data Profiling: How Google and Facebook Sell You to Advertisers', 
    'description': "Always feel like somebody's watching you online? That might be because most everywhere you go, Google and Facebook are tracking you.In this video, we'll show...", 
    'datePublished': '2020-01-29', 
    'videoId': '6hDjWJtoQEc', 
    'keywords': 'duckduckgo, duckduckgoprivacyinfo, takebackyourprivacywithduckduckgo, online privacy tips, online privacy guide, creepy ads, online privacy, Facebook, google, tracking, surveillance, surveillance capitalism, nothing to hide', 
    'video_thumbnail': 'https://i.ytimg.com/vi/6hDjWJtoQEc/hqdefault.jpg', 
    'interactionCount': '78257', 
    'channel_name': 'DuckDuckGo', 
    'channel_url': 'http://www.youtube.com/channel/UCm_TyecHNHucwF_p4XpeFkQ', 
    'channelId': 'UCm_TyecHNHucwF_p4XpeFkQ', 
    'channel_logo': 'https://yt3.ggpht.com/ytc/AKedOLQ_J6dnNDeyrrdibfQJq8KlqimAcTRWIHID2Q5L=s900-c-k-c0x00ffffff-no-rj'
}
```

## Contributing
- <a href="https://github.com/sijey-praveen/youtube-md/pulls">Pull requests</a> are welcome. For major changes or improvement, please open an <a href="https://github.com/sijey-praveen/youtube-md/issues">issue</a> first to discuss what you would like to change or add. 

## Modifications Permission
<img src="https://i.imgur.com/SDQtUAH.png" width="500px">