<jupyter_start><jupyter_text>YouTube - Get uploads from channel **Tags:** youtube channel videos naas_drivers content snippet dataframe **Author:** [<NAME>](https://www.linkedin.com/in/ACoAABCNSioBW3YZHc2lBHVG0E_TXYWitQkmwog/)  Input  Import library<jupyter_code>import naas
from naas_drivers import youtube<jupyter_output><empty_output><jupyter_text>Variables<jupyter_code># Youtube api Key
YOUTUBE_API_KEY = naas.secret.get('YOUTUBE_API_KEY')

# Channel ID
channel_url = "https://www.youtube.com/channel/UCKKG5hzjXXU_rRdHHWQ8JHQ"<jupyter_output><empty_output><jupyter_text>Model<jupyter_code>df_uploads = youtube.connect(YOUTUBE_API_KEY).channel.get_uploads(channel_url)<jupyter_output><empty_output><jupyter_text>Output  Display results<jupyter_code>df_uploads<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10844892812105927, 'fraction_numerical': 0.006305170239596469, 'mean_word_length': 11.603174603174603, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '67600', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 331, 'n_tokens_neox': 307, 'n_words': 35, 'path': 'YouTube/YouTube_Get_uploads_from_channel.ipynb', 'repo_name': 'techthiyanes/awesome-notebooks', 'size': '802'}