Skip to content

Commit

Permalink
-Updated README.md with information about the find_filter method
Browse files Browse the repository at this point in the history
-Bumped version number
  • Loading branch information
Themis3000 committed Aug 23, 2021
1 parent 9dc3b2c commit 332e85d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,21 @@ import FreeProxyScraper

pq = FreeProxyScraper.ProxyQuery()

# Returns any proxy's found
for proxy in pq.find_proxies(limit=20):
print(proxy)

# Returns only proxies that are anonymous or "elite"
for proxy in pq.find_filter(limit=20, min_anon_level=1):
print(proxy)
```

There are 3 anonymity levels, indicated as integers between 0-2.

- Level 0: Transparent. The end server can see your real ip even though it's being routed through a proxy
- Level 1: Anonymous. The end server knows you are using a proxy, but does not know your real ip
- Level 2: High Anonymity, also sometimes called "elite". The end server does not know you are using a proxy or know your real ip. The end server may have a database known proxies, so they still may know that you are using a proxy by matching your ip against such a database.

## List of sites implemented for scraping:
- https://www.sslproxies.org/
- http://free-proxy.cz/en/
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="FreeProxyScraper",
version="0.1.2",
version="0.1.3",
description="A plugin driven package that scrapes sites for free proxies",
py_modules=["FreeProxyScraper"],
package_dir={"": "src"},
Expand Down

0 comments on commit 332e85d

Please sign in to comment.