Spaces:
Sleeping
Sleeping
=
commited on
Commit
·
35d7781
1
Parent(s):
5e3c036
up creds
Browse files- lib/Transcriber.jl +4 -2
lib/Transcriber.jl
CHANGED
@@ -10,9 +10,11 @@ function __init__()
|
|
10 |
from youtube_transcript_api import YouTubeTranscriptApi
|
11 |
from youtube_transcript_api.proxies import WebshareProxyConfig
|
12 |
|
13 |
-
|
14 |
-
websharepass
|
15 |
|
|
|
|
|
16 |
ytt_api = YouTubeTranscriptApi(
|
17 |
proxy_config=WebshareProxyConfig(
|
18 |
proxy_username=webshareuser,
|
|
|
10 |
from youtube_transcript_api import YouTubeTranscriptApi
|
11 |
from youtube_transcript_api.proxies import WebshareProxyConfig
|
12 |
|
13 |
+
print(f"Debug - Found webshareuser: {'YES' if webshareuser else 'NO'}")
|
14 |
+
print(f"Debug - Found websharepass: {'YES' if websharepass else 'NO'}")
|
15 |
|
16 |
+
webshareuser = os.environ.get("webshareuser") # Changed from webuser to webshareuser
|
17 |
+
websharepass = os.environ.get("websharepass")
|
18 |
ytt_api = YouTubeTranscriptApi(
|
19 |
proxy_config=WebshareProxyConfig(
|
20 |
proxy_username=webshareuser,
|