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
2 votes
0 answers
64 views

A simple Python script that crawls information about Youtube playlists and your watch history

You will need to follow this guide. This is a Youtube crawler that crawls information about Youtube playlists, it uses Youtube Data API v3 and it crawls the title, url, description, count and videos ...
user avatar
1 vote
0 answers
47 views

F# thumbnail Scraper

Thumbnail Scraper I'm a C# programmer learning F#. For my first program I created a console youtube thumbnail scraper. It parses command line arguments with argu and then downloads the thumbnails, ...
user avatar
2 votes
1 answer
213 views

youtube download application using youtube_dl and tkinter

I program in Python as a hobby and decided to try to use tkinter to make an application. I decided to make a YouTube video/audio downloader using youtube_dl. It's really slow, and the tkinter window ...
user avatar
7 votes
3 answers
216 views

YouTube Downloader with PyTube

I've made a little app, YouTube Downloader, which does what the name says. I have three files as I am trying to get good enough in working with multiple files in one app. So even if it is really small ...
user avatar
  • 456
1 vote
1 answer
58 views

New Spreadsheet Row to YouTube Playlist

I have the following code below that takes a new row added to my Google Spreadsheet (has a header row) and extracts the video ID. If the ID does not exist in the playlist, it adds the video to the ...
user avatar
  • 259
1 vote
2 answers
295 views

Python YouTube Video Downloader

I'm looking for some feedback on my first 'real' Python program. Started with Python a few days ago and wanted to get right into it and make something hands on. Currently the program lets you download ...
user avatar
2 votes
0 answers
188 views

YouTube Data API v3: Modified version of YouTube trending that only includes videos from subscribed to channels

I have made a program that sort of mimics YouTube trending, but only with videos from channels that I am subscribed to. It looks at each Subscription, converts the ...
user avatar
  • 361
3 votes
1 answer
286 views

Tampermonkey script to check and replace youtube's subscriptions to show all videos

Just wanted a general review of the code to make sure I'm doing it properly/efficently. New to JS and don't use RegEx too often. ...
user avatar
3 votes
1 answer
54 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/...
user avatar
3 votes
1 answer
856 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 ...
user avatar
2 votes
0 answers
63 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. ...
user avatar
  • 269
19 votes
4 answers
9k 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? ...
user avatar
  • 1,070
5 votes
1 answer
329 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 ...
user avatar
  • 53
1 vote
0 answers
790 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 ...
user avatar
  • 111
0 votes
1 answer
2k 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 ...
user avatar
2 votes
1 answer
962 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 ...
user avatar
6 votes
1 answer
1k 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: ...
user avatar
1 vote
0 answers
1k 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 ...
user avatar
6 votes
1 answer
357 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 ...
user avatar
  • 293
2 votes
1 answer
733 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 ...
user avatar
3 votes
0 answers
165 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 (...
user avatar
5 votes
1 answer
4k 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 ...
user avatar
  • 53
5 votes
1 answer
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 ...
user avatar
0 votes
2 answers
432 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: ...
user avatar
  • 8,737
3 votes
1 answer
2k 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 ...
user avatar
  • 51
1 vote
0 answers
295 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 ...
user avatar
2 votes
1 answer
591 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 ...
user avatar
  • 23
2 votes
0 answers
67 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. ...
user avatar
2 votes
0 answers
205 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 ...
user avatar
7 votes
1 answer
692 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 ...
user avatar
  • 701
5 votes
2 answers
1k 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: ...
user avatar
10 votes
1 answer
6k 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 ...
user avatar
4 votes
1 answer
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? ...
user avatar
  • 127
2 votes
1 answer
997 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 ...
user avatar
  • 165
3 votes
1 answer
131 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 ...
user avatar
7 votes
2 answers
5k 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. ...
user avatar
  • 71
4 votes
1 answer
117 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 ...
user avatar
  • 177
4 votes
1 answer
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 ...
user avatar
4 votes
1 answer
290 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: ...
user avatar
1 vote
1 answer
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 ...
user avatar
  • 161
6 votes
1 answer
458 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 ...
user avatar
  • 173
1 vote
1 answer
205 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 ...
user avatar