Coder Social home page Coder Social logo

scrape-youtube-views's Introduction

Scrape-YouTube-Views

This program scrapes views of music videos on YouTube and saves those views along with the date scraped, date the video was uploaded, channel name, and video name to a csv. This information can be used to track and visualize the growth in views over time to assess popularity as well as determine which songs and videos had the biggest launches upon release (for videos tracked starting on the day of their premiere). The granularity of the data depends on how often the user runs this program. Daily data is unlikely unless this program is run each day over the long term. Instead, changes in views by month is more realistic so long as the user runs the program at least towards the beginning and end of each month.

Sales, radio airplay, and streams (from platforms including but not limited to Spotify, Apple Music, Tidal, Amazon Music, YouTube, and Facebook) all contribute to a song's placement on Billboard charts. Additionally, streams count towards a song or album's certification where 150 audio and/or video streams equate to 1 unit for song certification and 1,500 streams equate to 1 unit for album certification (Gold certification = 500,000 units, Platinum = 1,000,000 units, and Diamond = 10,000,000 units).

Spotify holds the largest share of the music subscription market and ideally this project would scrape streams for songs and entire albums from Spotify. However, it does not appear information about plays are included in the Spotify Web API so this would require scraping streams from the desktop app, if possible. So as an alternative, this program scrapes YouTube music video views as they are easily viewable and identifiable on the YouTube webpage. The downside in tracking total streams for an entire album based on YouTube tallies is that artists may not have official audio or lyric videos for album tracks off of albums further back in their discography. Instead, they may only have uploaded official music videos for songs that were released as singles from a respective album era.

scrape-youtube-views's People

Contributors

jefang15 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

yesin2014

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.