PyJSONProxy

simple proxy and scraper
git clone https://git.ce9e.org/PyJSONProxy.git

commit
6dce93007bd4b7ac3b1639e42615957d089c7145
parent
2c233051342c4420a14ba7d0c583ec56b0756577
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-05-05 07:47
cleanup

Diffstat

M jsonproxy/__init__.py 1 -
M setup.py 3 ++-

2 files changed, 2 insertions, 2 deletions


diff --git a/jsonproxy/__init__.py b/jsonproxy/__init__.py

@@ -61,7 +61,6 @@ def async_cache(maxsize=128):
   61    61 
   62    62 @async_cache()
   63    63 async def _request(method, url):
   64    -1 	print('{}:{}'.format(method, url))
   65    64 	async with aiohttp.request(method, url) as response:
   66    65 		if response.status == 404:
   67    66 			raise aiohttp.web_exceptions.HTTPNotFound

diff --git a/setup.py b/setup.py

@@ -40,4 +40,5 @@ setup(
   40    40         'License :: OSI Approved :: GNU Affero General Public License v3 '
   41    41             'or later (AGPLv3+)',
   42    42         'Topic :: Internet :: Proxy Servers',
   43    -1     ])
   -1    43     ],
   -1    44 )