diff --git a/python/tasks/mlb_player.py b/python/tasks/mlb_player.py index 83c809d..57ed5db 100644 --- a/python/tasks/mlb_player.py +++ b/python/tasks/mlb_player.py @@ -211,3 +211,14 @@ def kernel_4( t4=t4, t7=t7, ) + +def kernel_5(o_4): + for o in [o_4['t4'], o_4['t7']]: + subprocess.check_call( + [ + 'youtube-dl', + '-f', + '18', + o, + ] + ) diff --git a/requirements.txt b/requirements.txt index 869dabe..21fdc59 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ jupyter notebook requests pyquery +youtube-dl