Closed Lewdninja closed 4 years ago
Can disable yts and tell me if you still have the error please ?
@JimmyLaurent disabling YTS did indeed fix it.
.setProxy()
) but it'd take me a hot minute to figure out how the lib is made. If you'd be down to add that with the fix that'd be awesome.I released a new version 2.1.1 with the fix.
If you use an http proxy, set env variables HTTP_PROXY and/or HTTPS_PROXY and you should be good.
I would like to rotate the proxies so env variable is not the most ideal option. No worries though. Thanks for the fix.
TypeError: Cannot read property 'catch' of undefined at exports.silentRejection (C:\xxx\xxx\xxx\torrent-scraper\node_modules\torrent-search-api\lib\utils\helpers.js:7:36) at C:\xxx\xxx\xxx\torrent-scraper\node_modules\torrent-search-api\lib\ProviderManager.js:109:49 at Array.map (<anonymous>) at ProviderManager.search (C:\xxx\xxx\xxx\torrent-scraper\node_modules\torrent-search-api\lib\ProviderManager.js:109:8)
This started happening with the latest fix commit/version.