Added query_config parameter to init for better readability

This commit is contained in:
Alberto Soutullo 2024-02-26 15:55:42 +01:00
parent c6f0280676
commit a16399506b
No known key found for this signature in database
GPG Key ID: A7CAC0D8343B0387
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ logger = logging.getLogger(__name__)
class Scrapper:
def __init__(self, url: str, query_config_file: str, out_folder: str):
self._url = url
self._query_config = None
self._query_config_file = query_config_file
self._out_folder = out_folder
self._set_query_config()