BraydenMoore commited on
Commit
2a8b4c0
·
1 Parent(s): d1f4a66

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -3
main.py CHANGED
@@ -46,10 +46,8 @@ def proxy(url):
46
  'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'
47
  }
48
  try:
49
- # Remove 'proxy/' from the url if present
50
  clean_url = url.replace('proxy/', '')
51
-
52
- print('Cleaned URL:', clean_url) # For debugging
53
 
54
  req = requests.get(f'http://{clean_url}', headers=headers, stream=True, timeout=15)
55
  content_type = req.headers['content-type']
 
46
  'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'
47
  }
48
  try:
 
49
  clean_url = url.replace('proxy/', '')
50
+ print('Cleaned URL:', clean_url)
 
51
 
52
  req = requests.get(f'http://{clean_url}', headers=headers, stream=True, timeout=15)
53
  content_type = req.headers['content-type']