Code Monkey home page Code Monkey logo

youtubeplus's Introduction

YouTube+ (Video Discovery)

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Acknowledgments

About The Project

As a way of determining the originality of a video, it can be helpful to look for semantically similar videos. Start by entering the video link you wish to search for semantically similar videos and your Google API key for Streamlit.

Streamlit Cloud version can be accessed here: https://share.streamlit.io/anderson2805/youtubeplus

(back to top)

Getting Started

Prerequisites

Developed and tested on Python 3.8/3.9.

Installation

For local installation:

  1. Get a free API Key at https://developers.google.com/youtube/v3/getting-started
  2. Clone the repo
    git clone https://github.com/anderson2805/YoutubePlus.git
    cd YoutubePlus
  3. Install packages in requirements.txt
    pip install -r requirements.txt
  4. To start on local machine
    streamlit run streamlit_app.py

(back to top)

Usage

Access local version : http://localhost:8501/

Access Streamlit Cloud: https://share.streamlit.io/anderson2805/youtubeplus

Standard operating procedure:

  1. Insert YouTube API obtain from credentials page. Guide
  2. Enter Video URL of interest which will be served as seed for video comparison (Do not enter additional parameters/data after "v=xxxxx" such as "&t=3228s &ab_channel=CNA")
  3. Title and Description will be extracted from seed video and shown.
  4. You can make edits on "Processed Description" to manually remove call-to-actions texts or add texts wrongly removed.
  5. Suggested Query Keywords will be generated based on Title and Processed Description
  6. Pick the best suggested query keyword, where more videos will be queried based on.
  7. Select the number of pages to query, where they are currently sorted based on relevance
  8. Choose to include or exclude Related videos, which is based on YouTube internal algorithms.
  9. (Work in Progress, this button currently do nothing) Choose to include or exclude channels data.
  10. Click the button "Call data from YT APIs"
    • During this time, YouTube API are queried for more videos information based on the "Query Keywords" you have entered.
    • Video information such as Title, Description, Closed Captioning, No. of Likes (for more information, refer to Data Description)
    • Followed by, collecting related videos (Based on YouTube Algorithms).
    • Word embeddings of English Closed Captioning (Automatically Generated or Manually uploaded) are processed.
    • All the embeddings were than calculated for similarity score towards the seed video caption

For more examples, please refer to the Documentation

(back to top)

License

Distributed under the Apache-2.0 License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)

youtubeplus's People

Contributors

anderson2805 avatar

Watchers

 avatar  avatar

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.