Compare commits

2 Commits

Author SHA1 Message Date
c6600852ec Update version in setup.py 2023-02-02 21:39:42 +03:00
a1c5e8ab1f Critical fix 2023-02-01 14:32:07 +03:00
2 changed files with 2 additions and 2 deletions

View File

@@ -195,7 +195,7 @@ class Scraper:
def api_request(self, method: str, params):
"""Make a request to Codeforces API with ``params``"""
resp = self.get(f'api/{method}')
resp = self.get(f'api/{method}', params=params)
try:
response = resp.json()
except ValueError:

View File

@@ -2,7 +2,7 @@ import setuptools
setuptools.setup(
name='codeforces-scraper',
version='0.2.0',
version='0.2.0-r1',
author='thematdev',
author_email='thematdev@thematdev.org',
description='Utility to do actions on codeforces',