proxyproviders 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: proxyproviders
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: A unified interface for different proxy providers
5
5
  License: MIT License
6
6
 
@@ -92,7 +92,7 @@ class Webshare(ProxyProvider):
92
92
 
93
93
  all_proxies.extend([self._convert_to_proxy(proxy) for proxy in proxy_data])
94
94
 
95
- if data.get("next") is None: # no more pages
95
+ if "page" in self.search_params or data.get("next") is None:
96
96
  break
97
97
 
98
98
  return all_proxies
@@ -1,3 +1,3 @@
1
1
  """Version information for proxyproviders package."""
2
2
 
3
- __version__ = "0.2.1"
3
+ __version__ = "0.2.2"
@@ -2,9 +2,18 @@
2
2
  requires = ["poetry-core>=1.0.0"]
3
3
  build-backend = "poetry.core.masonry.api"
4
4
 
5
+ [tool.poetry]
6
+ name = "proxyproviders"
7
+ version = "0.2.2"
8
+ description = "A unified interface for different proxy providers"
9
+ authors = ["David Teather <contact.davidteather@gmail.com>"]
10
+
11
+ [tool.poetry.dependencies]
12
+ python = ">=3.9"
13
+
5
14
  [project]
6
15
  name = "proxyproviders"
7
- version = "0.2.1"
16
+ version = "0.2.2"
8
17
  description = "A unified interface for different proxy providers"
9
18
  readme = "README.md"
10
19
  authors = [{ name = "David Teather", email = "contact.davidteather@gmail.com" }]
File without changes
File without changes