INFO PROPERTY VALUE
Program Name App: Parse RSS with JavaScript
File Name README.md
Date Created 10/25/21
Date Modified
Version 1.00
Programmer Eric Hepperle

TECHNOLOGIES

JavaScript

Git

GitHub

Purpose

App: Grabs (scrapes) data from a YouTube video page and prints to console title, url, and channel name using vanilla JavaScript ES6. This is useful for quickly grabbing enough information to make a link to a YouTube video and/or channel.

Description

N/A

Materials/References

Sample Code from Tutorial

Sample Code PLACEHOLDER

Usage

  1. Open YouTube video page (you can pause video or let it play)
  2. Open developer console (F12)
  3. Copy-paste JS code into browser console and run (hit enter)

Sample Results:

Tutorial Info:
- Title: Create a Live Highway Traffic Rotator using JavaScript - RSS / XML
- Full URL: https://www.youtube.com/watch?v=iPUnS49EomI
- Base URL: https://www.youtube.com/watch?v=iPUnS49EomI
- Channel: Awesome Open Source
- Channel URL: https://www.youtube.com/c/AwesomeOpenSource
- Avatar URL: https://yt3.ggpht.com/ytc/AKedOLRoYQU9YzUWgOceIRbwnjzsWP9V-ckmp4QC9wcq=s68-c-k-c0x00ffffff-no-rj

Requires

  • Browser opened to a YouTube video with developer console exposed.

Demonstrates

  • JavaScript
  • ES6 / ECMAScript 2015
  • Web Scraping / Web Scrapers
  • Vanilla JavaScript
  • YouTube Scraping

TAGS

JavaScript ES6 Web Scraping Vanilla JavaScript

VOCAB

  • N/A

Resources

  • N/A

GitHub

View Github