diff --git a/pynyaata/connectors/core.py b/pynyaata/connectors/core.py index 965f8f1..6fe2a4c 100644 --- a/pynyaata/connectors/core.py +++ b/pynyaata/connectors/core.py @@ -13,7 +13,7 @@ from ..config import CACHE_TIMEOUT, IS_DEBUG, REQUESTS_TIMEOUT, TWOCAPTCHA_API_K scraper = create_scraper(browser={ 'custom': 'ScraperBot/1.0' -}, recaptcha=TWOCAPTCHA_API_KEY) +}, interpreter='js2py', recaptcha=TWOCAPTCHA_API_KEY) class ConnectorReturn(Enum): diff --git a/requirements.txt b/requirements.txt index 237d980..10ab708 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,5 +8,6 @@ requests==2.23.0 beautifulsoup4==4.9.1 python-dotenv==0.13.0 cloudscraper==1.2.38 +Js2Py==0.70 polling==0.3.1 dateparser==0.7.4