The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [youtube]

YouTube is a video-sharing website on which users can upload, share and view videos. Use this tag for questions which may arise when developing for YouTube. This tag is NOT for support questions about using the YouTube website or the official YouTube app.

Filter by
Sorted by
Tagged with
3
votes
1answer
42 views

Script that saving most relevant Youtube video for each database object

Due to the tightened Youtube API daily quota (that allows to use only ~ 98 search requests per project daily) I've implemented a multi-project system. For this to work you need to create a project/...
3
votes
1answer
133 views

TamperMonkey Script to replace the YouTube favicon with the channel logo

I felt that having a plain red favicon for every youtube tab is a little boring. So, I wrote a TamperMonkey Script with the new ES6 promises that replaces the favicon with the channel's logo. Link to ...
2
votes
0answers
53 views

Listing YouTube videos using API with RxJava

I am new to RxJava and have the following code which I use to search YouTube videos via the API and ultimately display them in a list. ...
19
votes
4answers
5k views

Web scraping the titles and descriptions of trending YouTube videos

This scrapes the titles and descriptions of trending YouTube videos and writes them to a CSV file. What improvements can I make? ...
5
votes
1answer
263 views

Collecting YouTube links from a page

I wrote code for my needs (i.e. collecting YouTube links from a page) and it is simple, but now I just want to know what can I do just to make it a better and properly written one. For example, I ...
1
vote
0answers
482 views

Adding Youtube iframe API at runtime - React Component

So we created a component where we have a couple of Yotube iframes and we import the Youtube iframe API like this way. It's working and we achieve what we expected. I would appreciate any comments ...
0
votes
1answer
1k views

YouTube page scraping using Jsoup

I am trying to scrape the YouTube video streaming page to get the metadata of the video. I am considering this YouTube page as an example. You can find the HTML contents of that page over here (I have ...
2
votes
1answer
655 views

Python script to scrape titles of public Youtube playlist

Just started in Python; wrote a script to get the names of all the titles in a public Youtube playlist given as input, but it got messier than it might have to be. I looked around online and found ...
6
votes
1answer
566 views

Python YouTube downloader with tkinter

Recently I was asked to make an application that allowed a user to download youtube videos - minus all the viruses. So far I have produced the following code: ...
1
vote
0answers
774 views

Overlay a YouTube video iFrame Over an Image

This is my code and the main thing I wanted to accomplish when creating this was to: overlay an iFrame over an image and also to see if I could embed a YouTube video iFrame with the video ID entered ...
6
votes
1answer
253 views

YouTube playlist steganography: hide secret messages inside YouTube playlists

I have created this repo on GitHub and I have shown how this software works through a video. If you have time, please visit the repo and read the files. I'll post some relevant snippets below, but if ...
2
votes
1answer
378 views

Random YouTube video player

I just finished making this quick and dirty random YouTube video player for fun and learning. Before I get started, by "random" I mean selecting a video from a list of videos using PHP RNG, not truly ...
3
votes
0answers
143 views

Converting YouTube channels to podcasts

I created a Django app that converts YouTube channels to podcasts. It uses the actual YouTube paths for the URLs. The idea is that the user can just find the YouTube address of the desired channel (...
5
votes
1answer
2k views

Scraping all closed captions (subtitles) of a YouTube's creator's video library

A script that scrapes all YouTube's videos closed captions(subtitles) of a single creator's video library. It scrapes either auto-generated or manually written subtitles. The script accepts a link to ...
5
votes
1answer
2k views

Youtube Video Downloader

This code takes a YouTube video and download it. It supports only non-copyrighted videos due to YouTube's new algorithms. Any thoughts about the structure and the logic? I would like to learn from ...
0
votes
2answers
170 views

Bookmarklet to go to YouTube channel RSS feed

I've written a simple bookmarklet to go to the YouTube channel RSS feed URL from at least any video or channel page: ...
3
votes
1answer
955 views

Download a list of songs from Youtube using Selenium

Given a text file containing a list of links, I wrote some code to download them, one by one, from YouTube, using either YoutubeMP3 or Convert2mp3 logging any songs that failed to download. The code ...
1
vote
0answers
271 views

Download playlist clips from YouTube

As I'm located in China, using YouTube is a headache for me. I know about youtube-dl, but I just started learning and decided to build something myself. With a bunch of things TBD, it basically does ...
2
votes
1answer
456 views

Script to retrieve new YouTube videos

I wrote a script which retrieves YouTube videos from your favourite channels - channels you specify in a .txt file. Let me know what you think about it. Channel and Video classes ...
2
votes
0answers
61 views

YouTube component of a multi-component web-app

Following is basic JS code to create a YouTube search bar, search of query and load the results in a dropdown menu. I am new to JS programming and I am seeking advice for how to write better code. ...
2
votes
0answers
183 views

Downloading and transcoding music from YouTube

This is a music downloader and transcoder based on Youtube-Dl and VLC. It is written in Python 3. The PAFY Python module is required in addition to VLC. Currently, the cancel button is not functional ...
7
votes
1answer
639 views

Youtube playlist saver with Google API

I have a problem with Youtube videos being deleted from my big playlist and not knowing which videos got removed. So, I decided to write a Python script to save certain information(title etc.) about ...
5
votes
2answers
588 views

Express middleware to validate URL and tags

I am building an API where the client can send a url and some comma-delimited tags: ...
10
votes
1answer
5k views

The YouTube crawler

I have coded a program to scrap YouTube data (for educational purposes). When the link of the channel is entered it scraps the channel name, description of the channel, the videos posted by the ...
3
votes
1answer
2k views

Crawling through a YouTube channel via the YouTube API

This code uses the YouTube API for crawling through a YouTube channel, parsing responses and syncing the channel videos with a local directory. Can this be optimised or improved? ...
2
votes
1answer
773 views

Interactive command line YouTube downloader with option to burn subtitles into video

EDIT: This code is now public on GitHub with more focused purpose in case anyone is interested. Thanks for the help! This is only used on Mac machines. I know that there is a Python implementation ...
3
votes
1answer
124 views

JavaScript: Simulating the process of removing multiple videos at once from a YouTube playlist

I've written the code below with what little knowledge I have of JavaScript at the moment. The code simulates the process of removing multiple videos at once from a playlist like the one you see on ...
7
votes
2answers
4k views

YouTube Search Result Scraper

This is a program I wrote in Python using the BeautifulSoup library. The program scrapes YouTube search results for a given query and extracts data from the channels returned in the search results. ...
4
votes
1answer
107 views

YouTube video intro, and autoscroll when video ends

This code creates an intro video using the Youtube API, screen text written by JavaScript with a typewriter kind of effect. How can I rewrite this as succinct object-oriented code? Also, I'm not sure ...
4
votes
1answer
1k views

Testing async YouTube API calls using Jasmine 2.0

I'm upgrading my project from YouTube's V2 API to their V3 API. I'm also taking the time to upgrade to Jasmine 2.0 since I already need to look at my test cases. Here's a couple of test cases and the ...
4
votes
1answer
282 views

Retrieve and load playlists from YouTube

I have this code I am using in a private project. The following is a snippet of code I use to retrieve and load playlists from YouTube: ...
0
votes
1answer
2k views

Loading YouTube videos inside a bootstrap modal

The following code loads a YouTube video inside an iframe, where the tricky part is to sync the onYouTubeIframeAPIReady and ...
6
votes
1answer
442 views

Downloading content from YouTube

This downloads content from YouTube either as whole playlists or single videos. I find it very useful but would like to know if it's something close to a program that others could maintain. I also ...
1
vote
1answer
200 views

Functional inheritance using the YouTube API

I'm looking for some feedback on my implementation of MVC and functional inheritance (as described by Douglas Crockford in his book The Good Parts) in an app that uses the YouTube API. This is my ...