MCPcopy
hub / github.com/hellerve/programming-talks / has_youtubedl

Function has_youtubedl

scripts/add_years.py:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22
23def has_youtubedl():
24 try:
25 check_output(['youtube-dl', '--help'])
26 return True
27 except FileNotFoundError:
28 return False
29
30
31def get_release_year(link):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected