File tree Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Expand file tree Collapse file tree 4 files changed +9
-12
lines changed Original file line number Diff line number Diff line change
1
+ * .mp4
2
+ * .log
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ All you need to do is run: ```python2.7 nbaRecapCompiler.py <number_of_days_ago_
20
20
* Thank you [ youtube-dl] ( https://rg3.github.io/youtube-dl/ )
21
21
* Thank you [ beautifulSoup] ( https://www.crummy.com/software/BeautifulSoup/ )
22
22
23
-
24
23
## Set up
25
24
26
25
` 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 `
Original file line number Diff line number Diff line change 7
7
import sys
8
8
import youtube_dl
9
9
10
-
11
10
def soupify (url ):
12
11
chrome_options = Options ()
13
12
# chrome_options.add_argument("--disable-extensions")
@@ -64,8 +63,6 @@ def download_games(game_urls):
64
63
print '-----------------------------------------'
65
64
youtube_dl .YoutubeDL (ydl_opts ).download (game_urls )
66
65
67
-
68
-
69
66
if __name__ == '__main__' :
70
67
print (sys .argv )
71
68
try :
@@ -79,11 +76,3 @@ def download_games(game_urls):
79
76
download_games (game_urls )
80
77
call ("killall chromedriver" , shell = True )
81
78
exit ()
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
Original file line number Diff line number Diff line change
1
+ chromedriver
2
+ selenium
3
+ webdriver-manager
4
+ BeautifulSoup4
5
+ youtube-dl
6
+ ffmpeg
7
+ lxml
You can’t perform that action at this time.
0 commit comments