Skip to content

Gathers, downloads, and starts playing any dates NBA game recaps

Notifications You must be signed in to change notification settings

fbessez/nbaRecapCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA Recap Compiler

NBA Recap Compiler is a simple script that scrapes the NBA homepage for .swf links to a given night's NBA game recaps. It then uses youtube_dl to download them to your current directory and then opens it. I created this script because it was getting incredibly redundant to navigate to each video link every morning. Now, one click and they are running on my local machine (with no ads!).

Getting Started

All you need to do is run: python2.7 nbaRecapCompiler.py <number_of_days_ago_you_want_highlights_from>

Prerequisites

youtube-dl & beautifulSoup

Authors

Acknowledgments

Set up

sudo pip install BeautifulSoup4 && sudo pip install selenium && sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && sudo chmod a+rx /usr/local/bin/youtube-dl && sudo pip install lxml && brew install ffmpeg

Then install ChromeDriver: https://sites.google.com/a/chromium.org/chromedriver/downloads

About

Gathers, downloads, and starts playing any dates NBA game recaps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages