Skip to content

Commit 1b9fa8e

Browse files
committed
update setup
1 parent ca30935 commit 1b9fa8e

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.mp4
2+
*.log

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ All you need to do is run: ```python2.7 nbaRecapCompiler.py <number_of_days_ago_
2020
* Thank you [youtube-dl](https://rg3.github.io/youtube-dl/)
2121
* Thank you [beautifulSoup](https://www.crummy.com/software/BeautifulSoup/)
2222

23-
2423
## Set up
2524

2625
`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`

nbaRecapCompiler.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import sys
88
import youtube_dl
99

10-
1110
def soupify(url):
1211
chrome_options = Options()
1312
# chrome_options.add_argument("--disable-extensions")
@@ -64,8 +63,6 @@ def download_games(game_urls):
6463
print '-----------------------------------------'
6564
youtube_dl.YoutubeDL(ydl_opts).download(game_urls)
6665

67-
68-
6966
if __name__ == '__main__':
7067
print(sys.argv)
7168
try:
@@ -79,11 +76,3 @@ def download_games(game_urls):
7976
download_games(game_urls)
8077
call("killall chromedriver", shell=True)
8178
exit()
82-
83-
84-
85-
86-
87-
88-
89-

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
chromedriver
2+
selenium
3+
webdriver-manager
4+
BeautifulSoup4
5+
youtube-dl
6+
ffmpeg
7+
lxml

0 commit comments

Comments
 (0)