= commited on
Commit
35d7781
·
1 Parent(s): 5e3c036
Files changed (1) hide show
  1. 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
- webuser = os.environ.get("webshareuser")
14
- websharepass = os.environ.get("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,