From 0d361685ff77425aaf7cc6c6580237d914041a55 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Wed, 1 Jun 2022 17:35:38 +0000 Subject: [PATCH] Fix AttributeError crash on scrapers using the default CLI constructor Introduced by 267b7d0e Fixes #483 --- snscrape/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snscrape/base.py b/snscrape/base.py index 71ab649..0e1ba1b 100644 --- a/snscrape/base.py +++ b/snscrape/base.py @@ -229,7 +229,7 @@ class Scraper: @classmethod def _cli_from_args(cls, args): - return cls._construct(args) + return cls._cli_construct(args) @classmethod def _cli_construct(cls, argparseArgs, *args, **kwargs):