HawkeyeHS commited on
Commit
a899567
·
verified ·
1 Parent(s): 1b7b81c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -16,9 +16,9 @@ def get_audio_url():
16
  return jsonify({"error": "Missing 'url' query parameter"}), 400
17
 
18
  try:
19
- proxies = {
20
- 'http': 'http://142.111.48.253:7030',
21
- 'https': 'https://142.111.48.253:7030'
22
  }
23
  yt = YouTube(video_url, proxies=proxies)
24
 
 
16
  return jsonify({"error": "Missing 'url' query parameter"}), 400
17
 
18
  try:
19
+ proxies={
20
+ 'http':'http://lfvqisry-rotate:an43nwquy0o9@p.webshare.io:80',
21
+ 'https':'https://lfvqisry-rotate:an43nwquy0o9@p.webshare.io:80'
22
  }
23
  yt = YouTube(video_url, proxies=proxies)
24