Spaces:
Runtime error
Runtime error
danilotpnta
commited on
Commit
·
b359c5a
1
Parent(s):
379f40e
start debugging
Browse files- download_video.py +4 -0
download_video.py
CHANGED
@@ -77,6 +77,10 @@ def download_mp3_selenium(youtube_url):
|
|
77 |
# Close the browser
|
78 |
driver.quit()
|
79 |
|
|
|
|
|
|
|
|
|
80 |
# Return the title and thumbnail for display
|
81 |
return title, thumbnail_url
|
82 |
|
|
|
77 |
# Close the browser
|
78 |
driver.quit()
|
79 |
|
80 |
+
with open('/tmp/chromedriver.log', 'r') as log_file:
|
81 |
+
log_contents = log_file.read()
|
82 |
+
print(log_contents)
|
83 |
+
|
84 |
# Return the title and thumbnail for display
|
85 |
return title, thumbnail_url
|
86 |
|