GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Removed unnecessary else again · checker/cli@76c20ec

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • OGCheckr.py
  • lib
    • proxy.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎OGCheckr.py‎

Copy file name to clipboardExpand all lines: OGCheckr.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from lib.configure import getBadProxyList as BADPROXYLIST
1414

1515
print_lock = threading.Lock()
16-
file_lock = threading.Lock()
1716
plist = get_proxy_list()
1817
numProxies = len(plist)
1918
q = Queue()
@@ -22,9 +21,6 @@ def requestJob(proxy):
2221
if check_proxy(proxy):
2322
with print_lock:
2423
print("%s is working" % proxy)
25-
else:
26-
with print_lock:
27-
print("%s is bad" % proxy)
2824

2925
def threader():
3026
while True:
Collapse file

‎lib/proxy.py‎

Copy file name to clipboardExpand all lines: lib/proxy.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ def check_proxy(proxy):
3535
if r.status_code is 200:
3636
good_proxies.append(proxy)
3737
return True
38-
else:
39-
raise requests.RequestException
4038
except r.raise_for_status():
4139
bad_proxies.append(proxy)
4240
return False

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.