Giter Site home page Giter Site logo

0x01h / random-youtube-video-generator Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 4.0 22 KB

Random YouTube video generator script using YouTube Data API v3 written in Python.

License: GNU General Public License v3.0

Python 100.00%
youtube video python random-youtube-video random-video-generator random-youtube-video-generator python-youtube python-youtube-api

random-youtube-video-generator's Introduction

Random YouTube Video Generator

Random YouTube video generator script using YouTube Data API v3 written in Python.
Due to its query parameter this script fetches low viewed (0 - 250 views) YouTube video IDs oftenly.

Default Search Query: Prefix (IMG) + Random Integer (999-9999) + Postfix (MOV)

You can change its parameter to whatever you want.

Prerequisites

Google Developer Key for YouTube
DEVELOPER_KEY = 'YOUR_DEVELOPER_KEY'
Sign up and change with your own developer key: https://console.developers.google.com

Google APIs Client Library
pip3 install --upgrade google-api-python-client

Example Usage

> random-youtube-video.py
> 0CGyCMzi1l8

Now you can use this video ID as "https://www.youtube.com/watch?v=0CGyCMzi1l8"
Change the ID parameter with your output: "https://www.youtube.com/watch?v=ID"

random-youtube-video-generator's People

Contributors

0x01h avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

random-youtube-video-generator's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.